You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Christopher Tava <ct...@yahoo.com> on 2003/07/21 16:57:09 UTC
ojb and jmx
I am interested in making more parts of ojb manageble as opposed to configurable.
Maybe it should be manageable and configurable.
Is there a simple way to make all of the properties configured in the OJB.properties file accessible through JMX?
any thoughts?
---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Re: ojb and jmx
Posted by Thomas Mahler <th...@web.de>.
Hi Christopher,
We have been thinking about JMX integration for a while. I think it's on
the todo list for release 2.0.
But if you want to start on it earlier: no problem!
Christopher Tava wrote:
> I am interested in making more parts of ojb manageble as opposed to configurable.
> Maybe it should be manageable and configurable.
>
> Is there a simple way to make all of the properties configured in the OJB.properties file accessible through JMX?
OJB configuration works as follows:
The <code>Configuration</code> interface defines lookup-methods to lookup
typed configuration-values.
For example <code>boolean getBoolean(String key, boolean
defaultValue)</code>
looks up a boolean value associated with <code>key</code>.
The <code>Configurable</code> interface defines a callback
method <code>configure(Configuration pConfig)</code>.
Implementors of this method may use configuration value from the
<code>pConfig</code>
parameter to configure the current instance.
The <code>Configurator</code> interface defines methods for looking up
Configurations and for configuring <code>Configurable</code> instances.
The OJB Configurable corresponds to an JMX MBean.
The Configurator correponds to JMX MBeanServer
The Configuration could be compared to the JMX AttributeList
If I were asked to JMX-enable OJB I'd try to extend the existing OJB
configuration in such a way, that it would implement the corresponding
JMX interfaces.
cheers,
Thomas
> any thoughts?
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org