[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Adding ManagedObjectCreator support to AbstractSimpleRea

scott.stark@jboss.org do-not-reply at jboss.com
Tue Sep 4 14:43:36 EDT 2007


"adrian at jboss.org" wrote : 
  | You can't do that. Its perfectly possible that the AbstractRealDeployer
  | is dealing with a transient attachment that is not intended for the management layer.
  | 
  | In fact, thinking about it. We shouldn't be encouraging the real deployers to do
  | the managed objects anyway. That should really be done in the parsing deployers.
  | I would be in favour of making the parsing deployers require Serializable attachments
  | which would mean the AppParsing deployer would currently fail to compile. ;-)
  | 
that is true and will show up when we try to do management in a profile service setup without the real deployers. The first parsing deployer AbstractParsingDeployerWithOutput. The buildManagedObject could control whether the managed object is created and the Serializable cast could be implicit rather than explicit. In the future we may want to relax the Serializable since jboss serialization does not need it.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081028#4081028

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081028



More information about the jboss-dev-forums mailing list