You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@coredevelopers.net> on 2004/01/19 09:03:48 UTC

How to gbean-ify a geronimo mbean that unregisters itself?

I see that the security systems AbstractModuleConfiguration has a 
method "delete" that unregisters itself from the mbean server.

It's not clear to me yet how to implement this in the gbean framework, 
or if we should simply find a different way to get the same effect.

ideas?

david jencks


Re: How to gbean-ify a geronimo mbean that unregisters itself?

Posted by Dain Sundstrom <da...@coredevelopers.net>.
On Jan 19, 2004, at 2:03 AM, David Jencks wrote:

> I see that the security systems AbstractModuleConfiguration has a 
> method "delete" that unregisters itself from the mbean server.
>
> It's not clear to me yet how to implement this in the gbean framework, 
> or if we should simply find a different way to get the same effect.

This level of control is generally not a good idea for a component.  If 
you simply unregister a component without following the life cycle 
model, you will cause any dependent component to fail.

I think we should start with these questions:

What is this used for? Why do we need this?  Will stop work instead?

-dain