Methods Summary |
---|
public void | addInjectionTarget(InjectionTarget target)Add a new injection target for this dependency
|
public java.lang.String | getComponentEnvName()ComponentEnvName is the name of the corresponding java:comp/env
entry for the object that is to be injected.
|
public java.lang.String | getInjectResourceType()This is the class name of the type of resource that is to be injected.
|
public java.util.Set | getInjectionTargets()
|
public boolean | isInjectable()True if a particular resource instance is injectable. All injectable
resources are also exposed via their corresponding java:comp/env
namespaces, but not all resources in java:comp/env are injectable.
A resource is either field injectable or method injectable but never
both.
|
public void | setInjectResourceType(java.lang.String resourceType)
|