[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-1841 - ServiceController/Microcontainer integration
adrian@jboss.org
do-not-reply at jboss.com
Thu Aug 3 12:55:42 EDT 2006
Work still to do:
1) Mostly more testing.
The unit tests for errors are incomplete except for the "instantiation" tests.
The different methods of describing attributes needs to be tested.
There are currently no tests for XMBeans (except JBoss5 itself :-)
I would have liked to complete these tests before committing,
but I also wanted to get this into the codebase before Scott breaks it
with the deployer changes. :-)
2) MetaData model
There is a ServiceMetaData model which needs enhancing to expose
some of the newer features now possible with the Microcontainer
in control, e.g.
<mbean ... mode="On Demand">
3) JMX/POJO cross injection
This should already work underneath, but there is no real way to describe
it at the moment.
a) The -service.xml needs an
<attribute name="Blah"><inject bean="POJO"/></attribute
b) The Bean deployer needs to be udpated to use the Kernel
created by the ServiceController rather than creating a new one
for each deployment.
4) Other bits and pieces
There's a number of minor bits and pieces to tidyup.
e.g. Should the ServiceController create the Kernel internally
or should it be created by the ServerLoader and "injected"
in the ServiceController?
e.g.2 The IncompleteDeploymentException thrown by the MainDeployer
needs updating to use the DependencyInfo from the
underlying microcontainer controller so it picks up both JMX
and POJO contexts
etc.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962930#3962930
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962930
More information about the jboss-dev-forums
mailing list