[jboss-user] [Microcontainer] - Re: Define dependency for ValueMetaData?
ALRubinger
do-not-reply at jboss.com
Wed Dec 17 23:48:26 EST 2008
Nice.
public class AbstractEjbReferenceValueMetadata extends AbstractDependencyValueMetaData
...and...
/**
| * Used in defining the dependency
| */
| @Override
| public Object getUnderlyingValue()
| {
| return DEPENDS_JNDI_PREFIX + this.getTargetJndiName();
| }
...gets the job done as it's picked up by initialVisit.
Another follow-up. :)
Is there an equivalent to my DEPENDS_JNDI_PREFIX (=="jndi:") so I don't have to define it myself?
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197266#4197266
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197266
More information about the jboss-user
mailing list