User development,

A new message was posted in the thread "Sub deployer not kicking in on 
CreateDestinationDeployer":

http://community.jboss.org/message/530644#530644

Author  : Clebert Suconic
Email   : [email protected]
Profile : http://community.jboss.org/people/[email protected]

Message:
--------------------------------------------------------------
I'm not sure what happened to my entire post... I have all the content but only 
the first paragraph appeared, and I can't edit the first post.
 
At least I'm glad I had it on my copy&paste buffer. So, reposting it (sorry for 
the dup):
 
I'm making a few changes on the the CreateDestinationDeployer. Instead of 
having the Deployer calling the Bean creations directly I'm having it to reuse 
another deployer.
 
This deployer is currently using pluging to create a destination. I'm currently 
asking the plugins what outputs they are going to make. So when the plugin is 
added I'm basically calling addOutput as you can see at the source code:
 
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_Hornet_Temporary_2/server/src/main/java/org/jboss/ejb/deployers/CreateDestinationDeployer.java
 
 
 
The plugin is loaded through the CreateDestination class:
 
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_Hornet_Temporary_2/server/src/main/java/org/jboss/ejb/deployers/CreateDestination.java
 

CreateDestination is encapsulating the Factory usage:
 
http://anonsvn.jboss.org/repos/jbossas/branches/Branch_Hornet_Temporary_2/server/src/main/java/org/jboss/ejb/deployers/CreateDestinationFactory.java
 
 
 
I'm registering the output on DestinationFactoryDeployerPlugin using by doing:
 
unit.getTransientManagedObjects().addAttachment(JMSConfiguration.class.getName(),
 config, JMSConfiguration.class);
 

I had to add a hack on the deployer to make it work (by basically calling the 
deployer's directly) but I was expecting MC to handle the invocation for me. 
For some reason this is not working.
 
I'm not sure what's going wrong.
 

http://anonsvn.jboss.org/repos/jbossas/branches/Branch_Hornet_Temporary_2/hornetq-int/src/main/java/org/jboss/as/integration/hornetq/deployers/DestinationFactoryDeployerPlugin.java
 
 
 
thanks for any help

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/530644#530644


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to