FileDocCategorySizeDatePackage
InjectionCapable.javaAPI DocGlassfish v2 API3299Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

InjectionCapable

public interface InjectionCapable
InjectionCapable describes a type of J2EE component environment resource that is capable of being injected at runtime.
author
Kenneth Saks

Fields Summary
Constructors Summary
Methods Summary
public voidaddInjectionTarget(InjectionTarget target)
Add a new injection target for this dependency

public java.lang.StringgetComponentEnvName()
ComponentEnvName is the name of the corresponding java:comp/env entry for the object that is to be injected.

public java.lang.StringgetInjectResourceType()
This is the class name of the type of resource that is to be injected.

public java.util.SetgetInjectionTargets()

return
the set of injection targets for this resource dependency

public booleanisInjectable()
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 voidsetInjectResourceType(java.lang.String resourceType)