geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Wilkins <>
Subject Re: [PATCH] State Manageable Object
Date Thu, 14 Aug 2003 07:16:58 GMT

I have just committed a patch with a StateManageable interface and
an AbstractStateManageable class.

Component now just has the methods to link it to a container (I
wish the Container had methods to iterate over it's components!)

I have also taken some of Gianny's patch to put in some support
for notification.  I have not put the actual notification classes
themselves in - as I'm not sure what we are doing in that space.
So Gianny, you will have to find somebody who knows more about that
bit to get the rest of your patch handled.


Sean Hamblett wrote:
> Gianny,
>    The JSR77 Docs can be found here: 
> In my 
> research of these docs, I understand the JSR is broken down into three 
> main areas, State, Performance, and Events.  At this time the Stat 
> portion is somewhat implemented via the Component interface.  I would 
> like to see the StateManageable interface seperated out from the 
> Component interface and have the State portion of JSR77 implemented in 
> its own scope.  That way the Container and/or the Component can 
> implement this individually.  If it is decided that the Container 
> doesn't need to be a component, then the AbstractContainer interface can 
> implement both Container, and StateManageable (via JSR77) and we can 
> separate out the management duties from the container duties.  Just my 
> two bits.
> Sean
> On Wed, 13 Aug 2003 16:16:58 +0200
>  "gianny DAMOUR" <> wrote:
>> Hi,
>> A small issue related to the org.apache.geronimo.common.State 
>> component is fixed by the enclosed patch (patch-core-java).
>> Moreover, the proposed patch adds the following components:
>> - org.apache.geronimo.common.EventMediator: Manage the event 
>> distribution among the management applications;
>> - org.apache.geronimo.common.EventProvider: Contained by an 
>> AbstractComponent. If the component is a "State Manageable Object", 
>> SMO, then it contains an EventProvider in order to broadcast some 
>> specific events;
>> - org.apache.geronimo.common.SMONotification: State event broadcasted 
>> by a SMO on entering of a specific event; and
>> - org.apache.geronimo.ejb.ContainerImplStateTest: Basic unit test 
>> registering a dummy management  application tracking the state of a 
>> org.apache.geronimo.ejb.ContainerImpl component. As a matter of fact, 
>> ContainerImpl is not a component to be monitored according to the 
>> JSR77. However, it could be a good starting point to reflect on the 
>> proposed patch and decide how we want to provide the hooks required by 
>> JSR77.
>> org.apache.geronimo.ejb.ContainerImplStateTest (contained by 
>> patch-core-test) should be added to the 
>> geronimo\incubator\modules\core\src\test sub-project.
>> The other ones should be added to the 
>> geronimo\incubator\modules\core\src\java sub-project.
>> By the way, is it possible to add to the Wiki the exact procedure to 
>> follow to propose a patch?
>> A subsidiary question: where can I download the source of the 
>> interfaces (JSR77)?
>> Cheers,
>> Gianny
>> _________________________________________________________________
>> Trouvez l'âme soeur sur MSN Rencontres

Greg Wilkins<>             Phone/fax: +44 7092063462
Mort Bay Consulting Australia and UK.

View raw message