[jboss-dev-forums] [Design of POJO Server] - Re: ENC Deployment
adrian@jboss.org
do-not-reply at jboss.com
Mon Sep 18 06:03:19 EDT 2006
The next step is what the ENC deployer does about the
dependencies.
e.g. If I want a DataSource, the DataSource should be deployed
before I start.
The way this should work is that the object that wants an ENC
should be deployed through the Controller, either as a POJO
or JMX with the relevant dependency:
| <bean name="MyEJB">
| <property name="enc">
| <inject bean="MyEJB,ENCFactory" property="enc"/>
| </property>
| etc.
|
The ENC deployer creates the ENCFactory using the metadata
from the scope it was provided with.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972241#3972241
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972241
More information about the jboss-dev-forums
mailing list