@Target(value={METHOD,CONSTRUCTOR,FIELD}) @Retention(value=RUNTIME) public @interface ApplicationName
SipFactory
, SipSessionsUtil
,
TimerService
are injected may further be annotated with this annotation to specify the
application name, these objects are scoped to. For example, a Java EE application component in an
ear file may use this annotation to refer the SIP application while injecting a SipFactory.
e.g.
@ApplicationName(“Foo”) @Inject private SipFactory sf;
SipFactory
,
SipSessionsUtil
,
TimerService
public abstract String value
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.