[jboss-dev-forums] [Design of POJO Server] - Depends on microcontainer bean in -service.xml

bstansberry@jboss.com do-not-reply at jboss.com
Fri Mar 23 00:45:57 EDT 2007


Is there any support for a plain "depends" in a -service.xml where the depended-on object is an MC bean? I.e.

<depends>HAPartition</depends>

I can get "depends optional-attribute-name" behavior with

<attribute name="Partition"><inject bean="HAPartition" state="Installed"/></attribute>

but there are cases where it's a simple dependency with no associated injection.

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

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



More information about the jboss-dev-forums mailing list