[jboss-user] [JBoss Microcontainer] - MC Bean deployment without a deployment descriptor?
Ovidiu Feodorov
do-not-reply at jboss.com
Wed Jul 6 23:39:24 EDT 2011
Ovidiu Feodorov [http://community.jboss.org/people/ovidiu.feodorov] created the discussion
"MC Bean deployment without a deployment descriptor?"
To view the discussion, visit: http://community.jboss.org/message/613819#613819
--------------------------------------------------------------
I am trying to figure out how to deploy a simple annotatated MC bean without any *-beans.xml. I am using JBoss 5. Annotating a POJO with @org.jboss.beans.metadata.api.annotations.Bean(name="something") should give the deployer sufficient information to create and start the service, but in a default configuration the deployment does not happen.
Is this even possible? I am reading various discussions on annotation scanners and such, but it is not very obvious how to turn this functionality on.
Thanks,
Ovidiu
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613819#613819]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110706/ac424a01/attachment.html
More information about the jboss-user
mailing list