Re: [picocontainer-dev] MBean for pico?

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
--- Paul Hammant <[email protected]> wrote:

> I do.  We started that before.
> 
> The idea of ComponentMonitors being swapple in a
> running container  
> was that MX4J (or beanshell or grash) could
> administer it, and  
> visualize things.
> 
> Also DefaultNanoContainer has named child containers
> - again for  
> visual representation of container and component
> trees


Well,   now current version of nanosar rigs up pico
container and places it onto JNDI. I think "start"
container is also good idea. 

But I lack a good idea how do I force JNDIExposed to 
actually bind - it has to happen right after component
creation of course, and pretty early. 
( say - start , then bind all exposed to JNDI possibly
creating them if not created yet ) 

Shall I do this by visitor? And expose to JMX too? 

Another Issue I got today is serialisability. 
JBoss likes to serialize everything that is bound
to JNDI context.  And there is JNDIObjectReference,
which of course holds JNDI-context - which is NOT
serialisable. OK, I marked it transient for first -
but this is somehow uncool. Does anyone have a good
idea how to restore it after deserialisation? 

"new InitialContext()" should be fine  in JB cluster,
but I'm not sure about it. 

just a random thoughts after forcing kids to bunk ;) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.