[jboss-user] [Beginner's Corner] - Defining a generic Dependency
Michael Künzli
do-not-reply at jboss.com
Tue Nov 9 05:55:27 EST 2010
Michael Künzli [http://community.jboss.org/people/mikalfa] created the discussion
"Defining a generic Dependency"
To view the discussion, visit: http://community.jboss.org/message/570233#570233
--------------------------------------------------------------
Hi
I would like to make a Stateless EJB dependend on another.
The following basically works:
@Stateless
@LocalBinding(jndiBinding = RuntimeEngineSchedulerLocal.JNDI_NAME)
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
@Depends( {
"jboss.j2ee:ear=esv-ear.ear,jar=auth-impl-1.5.0-SNAPSHOT.jar,name=UserServiceImpl,service=EJB3" })
My problem is the name of the jar auth-impl-1.5.0-SNAPSHOT.jar is subject to change.
My question: How can I either make the dependency in another way or make it generically (perhaps wildcards....)?
Thank you for your help.
Regards
Michael
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/570233#570233]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101109/7e2c1e9b/attachment-0001.html
More information about the jboss-user
mailing list