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&...]