[jboss-dev-forums] [Design of POJO Server] - Re: bean/mbean integration issue
adrian@jboss.org
do-not-reply at jboss.com
Wed Jan 17 11:09:12 EST 2007
"alesj" wrote :
| I did make it to extend ControllerContext. I need the target and I thought I needed name. Should I make it plain 'standalone'?
|
It should be a seperate optional interface that a context can implement.
Not all contexts will have/need a notion of "dispatch".
anonymous wrote :
| I also added getClassLoader() method - to help me with getting the param TypeInfos.
To what? Again this should probably be a seperate interface that can be
optionally implemented.
That a context has an associated classloader is true for JMX
and sort of true for POJO (there is no first class support like the MBeanServer methods)
but is this really true of all contexts of a state machine?
Remember the dependency project is intended to be just a model
of state transitions governed by their dependencies.
The other part, i.e. what those transitions means and additional state/methods
is a property of the implementation projects.
But, that doesn't mean that the dependency project can't define optional
interfaces to allow contexts to provide add-on behaviour that
cross cuts the different implementations.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002891#4002891
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002891
More information about the jboss-dev-forums
mailing list