Package com.sun.enterprise.deployment
Class JndiEnvironmentRefsGroupDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.CommonResourceDescriptor
-
- com.sun.enterprise.deployment.JndiEnvironmentRefsGroupDescriptor
-
- All Implemented Interfaces:
JndiNameEnvironment
,EjbReferenceContainer
,MessageDestinationReferenceContainer
,ResourceReferenceContainer
,WritableJndiNameEnvironment
,Serializable
- Direct Known Subclasses:
InterceptorDescriptor
,ManagedBeanDescriptor
public abstract class JndiEnvironmentRefsGroupDescriptor extends CommonResourceDescriptor implements EjbReferenceContainer, ResourceReferenceContainer, MessageDestinationReferenceContainer, WritableJndiNameEnvironment
Contains information about jndiEnvironmentRefsGroup.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BundleDescriptor
bundleDescriptor
protected Map<LifecycleCallbackDescriptor.CallbackType,Set<LifecycleCallbackDescriptor>>
callbackDescriptors
protected Set<EjbReference>
ejbReferences
protected Set<EntityManagerFactoryReferenceDescriptor>
entityManagerFactoryReferences
protected Set<EntityManagerReferenceDescriptor>
entityManagerReferences
protected Set<EnvironmentProperty>
environmentProperties
protected Set<MessageDestinationReferenceDescriptor>
messageDestReferences
protected Set<ResourceEnvReferenceDescriptor>
resourceEnvReferences
protected Set<ResourceReferenceDescriptor>
resourceReferences
protected Set<ServiceReferenceDescriptor>
serviceReferences
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description JndiEnvironmentRefsGroupDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCallbackDescriptor(LifecycleCallbackDescriptor.CallbackType type, LifecycleCallbackDescriptor llcDesc)
void
addCallbackDescriptors(LifecycleCallbackDescriptor.CallbackType type, Set<LifecycleCallbackDescriptor> lccSet)
void
addEjbReferenceDescriptor(EjbReference ejbReference)
Add a reference to an ejb.void
addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)
void
addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)
void
addEnvironmentProperty(EnvironmentProperty environmentProperty)
Adds the specified environment property to the receiver.void
addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestReference)
Add a message destination reference to myselfvoid
addPostConstructDescriptor(LifecycleCallbackDescriptor lcDesc)
Adds the specified post-construct descriptor to the receiver.void
addPreDestroyDescriptor(LifecycleCallbackDescriptor lcDesc)
Adds the specified pre-destroy descriptor to the receiver.void
addResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvinationReference)
Adds the specified resource environment reference to the receiver.void
addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Add a resource reference to the J2EEE componentvoid
addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceReference)
Adds the specified service reference to the receiver.BundleDescriptor
getBundleDescriptor()
Set<LifecycleCallbackDescriptor>
getCallbackDescriptors(LifecycleCallbackDescriptor.CallbackType type)
EjbReference
getEjbReference(String name)
Looks up an ejb reference with the given name.Set<EjbReference>
getEjbReferenceDescriptors()
Return the set of references to ejbs that I have.EntityManagerFactoryReferenceDescriptor
getEntityManagerFactoryReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to the given name.Set<EntityManagerFactoryReferenceDescriptor>
getEntityManagerFactoryReferenceDescriptors()
Return a set of entity manager factory reference descriptors.EntityManagerReferenceDescriptor
getEntityManagerReferenceByName(String name)
Return the entity manager reference descriptor corresponding to the given name.Set<EntityManagerReferenceDescriptor>
getEntityManagerReferenceDescriptors()
Return a set of entity manager reference descriptors.Set<EnvironmentProperty>
getEnvironmentProperties()
Return a set of environment properties.EnvironmentProperty
getEnvironmentPropertyByName(String name)
Return the env-entry with the given nameList<InjectionCapable>
getInjectableResourcesByClass(String className)
InjectionInfo
getInjectionInfoByClass(Class clazz)
MessageDestinationReferenceDescriptor
getMessageDestinationReferenceByName(String name)
Return a message destination reference by the same name or throw an IllegalArgumentException.Set<MessageDestinationReferenceDescriptor>
getMessageDestinationReferenceDescriptors()
Return the set of message destination references declared.LifecycleCallbackDescriptor
getPostConstructDescriptorByClass(String className)
Return the post-construct descriptor corresponding to the given name.Set<LifecycleCallbackDescriptor>
getPostConstructDescriptors()
Return a set of post-construct descriptors.LifecycleCallbackDescriptor
getPreDestroyDescriptorByClass(String className)
Return the pre-destroy descriptor corresponding to the given name.Set<LifecycleCallbackDescriptor>
getPreDestroyDescriptors()
Return a set of pre-destroy descriptors.ResourceEnvReferenceDescriptor
getResourceEnvReferenceByName(String name)
Return the resource environment reference descriptor corresponding to the given name.Set<ResourceEnvReferenceDescriptor>
getResourceEnvReferenceDescriptors()
Return a set of resource environment reference descriptors.ResourceReferenceDescriptor
getResourceReferenceByName(String name)
Looks up a reference to a resource by its name (getName()).Set<ResourceReferenceDescriptor>
getResourceReferenceDescriptors()
Return the set of references to resources that I have.ServiceReferenceDescriptor
getServiceReferenceByName(String name)
Return the Service reference descriptor corresponding to the given name.Set<ServiceReferenceDescriptor>
getServiceReferenceDescriptors()
Return a set of service reference descriptors.boolean
hasCallbackDescriptor(LifecycleCallbackDescriptor.CallbackType type)
void
removeEjbReferenceDescriptor(EjbReference ejbReference)
Removes the specificed ejb reference from the receiver.void
removeEnvironmentProperty(EnvironmentProperty environmentProperty)
Removes the specified environment property from receiver.void
removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Removes the specified message destination reference from the receiver.void
removeResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvinationReference)
Removes the specified resource environment reference from the receiver.void
removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Removes the specified resource reference from the receiver.void
removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceReference)
Removes the specified service reference from the receiver.void
setBundleDescriptor(BundleDescriptor desc)
-
Methods inherited from class com.sun.enterprise.deployment.CommonResourceDescriptor
addResourceDescriptor, getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptor, getResourceDescriptors, removeResourceDescriptor
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.enterprise.deployment.JndiNameEnvironment
getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.WritableJndiNameEnvironment
addResourceDescriptor, removeResourceDescriptor
-
-
-
-
Field Detail
-
callbackDescriptors
protected Map<LifecycleCallbackDescriptor.CallbackType,Set<LifecycleCallbackDescriptor>> callbackDescriptors
-
bundleDescriptor
protected BundleDescriptor bundleDescriptor
-
environmentProperties
protected Set<EnvironmentProperty> environmentProperties
-
ejbReferences
protected Set<EjbReference> ejbReferences
-
resourceEnvReferences
protected Set<ResourceEnvReferenceDescriptor> resourceEnvReferences
-
messageDestReferences
protected Set<MessageDestinationReferenceDescriptor> messageDestReferences
-
resourceReferences
protected Set<ResourceReferenceDescriptor> resourceReferences
-
serviceReferences
protected Set<ServiceReferenceDescriptor> serviceReferences
-
entityManagerFactoryReferences
protected Set<EntityManagerFactoryReferenceDescriptor> entityManagerFactoryReferences
-
entityManagerReferences
protected Set<EntityManagerReferenceDescriptor> entityManagerReferences
-
-
Method Detail
-
setBundleDescriptor
public void setBundleDescriptor(BundleDescriptor desc)
-
getBundleDescriptor
public BundleDescriptor getBundleDescriptor()
-
addCallbackDescriptor
public void addCallbackDescriptor(LifecycleCallbackDescriptor.CallbackType type, LifecycleCallbackDescriptor llcDesc)
-
addCallbackDescriptors
public void addCallbackDescriptors(LifecycleCallbackDescriptor.CallbackType type, Set<LifecycleCallbackDescriptor> lccSet)
-
getCallbackDescriptors
public Set<LifecycleCallbackDescriptor> getCallbackDescriptors(LifecycleCallbackDescriptor.CallbackType type)
-
hasCallbackDescriptor
public boolean hasCallbackDescriptor(LifecycleCallbackDescriptor.CallbackType type)
-
addPostConstructDescriptor
public void addPostConstructDescriptor(LifecycleCallbackDescriptor lcDesc)
Description copied from interface:WritableJndiNameEnvironment
Adds the specified post-construct descriptor to the receiver.- Specified by:
addPostConstructDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
lcDesc
- the post-construct LifecycleCallbackDescriptor to add.
-
getPostConstructDescriptorByClass
public LifecycleCallbackDescriptor getPostConstructDescriptorByClass(String className)
Description copied from interface:JndiNameEnvironment
Return the post-construct descriptor corresponding to the given name.- Specified by:
getPostConstructDescriptorByClass
in interfaceJndiNameEnvironment
- Returns:
- LifecycleCallbackDescriptor post-construct object
-
getPostConstructDescriptors
public Set<LifecycleCallbackDescriptor> getPostConstructDescriptors()
Description copied from interface:JndiNameEnvironment
Return a set of post-construct descriptors.- Specified by:
getPostConstructDescriptors
in interfaceJndiNameEnvironment
- Returns:
- java.util.Set of LifecycleCallbackDescriptor post-construct objects
-
addPreDestroyDescriptor
public void addPreDestroyDescriptor(LifecycleCallbackDescriptor lcDesc)
Description copied from interface:WritableJndiNameEnvironment
Adds the specified pre-destroy descriptor to the receiver.- Specified by:
addPreDestroyDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
lcDesc
- the pre-destroy LifecycleCallbackDescriptor to add.
-
getPreDestroyDescriptorByClass
public LifecycleCallbackDescriptor getPreDestroyDescriptorByClass(String className)
Description copied from interface:JndiNameEnvironment
Return the pre-destroy descriptor corresponding to the given name.- Specified by:
getPreDestroyDescriptorByClass
in interfaceJndiNameEnvironment
- Returns:
- LifecycleCallbackDescriptor pre-destroy object
-
getPreDestroyDescriptors
public Set<LifecycleCallbackDescriptor> getPreDestroyDescriptors()
Description copied from interface:JndiNameEnvironment
Return a set of pre-destroy descriptors.- Specified by:
getPreDestroyDescriptors
in interfaceJndiNameEnvironment
- Returns:
- java.util.Set of LifecycleCallbackDescriptor pre-destroy objects
-
addEjbReferenceDescriptor
public void addEjbReferenceDescriptor(EjbReference ejbReference)
Description copied from interface:EjbReferenceContainer
Add a reference to an ejb.- Specified by:
addEjbReferenceDescriptor
in interfaceEjbReferenceContainer
- Specified by:
addEjbReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
ejbReference
- the EjbReferenceDescriptor to add.
-
getEjbReference
public EjbReference getEjbReference(String name)
Description copied from interface:EjbReferenceContainer
Looks up an ejb reference with the given name. Throws an IllegalArgumentException if it is not found.- Specified by:
getEjbReference
in interfaceEjbReferenceContainer
-
getEjbReferenceDescriptors
public Set<EjbReference> getEjbReferenceDescriptors()
Description copied from interface:EjbReferenceContainer
Return the set of references to ejbs that I have.- Specified by:
getEjbReferenceDescriptors
in interfaceEjbReferenceContainer
- Specified by:
getEjbReferenceDescriptors
in interfaceJndiNameEnvironment
- Returns:
- java.util.Set of EjbReferenceDescriptor objects
-
removeEjbReferenceDescriptor
public void removeEjbReferenceDescriptor(EjbReference ejbReference)
Description copied from interface:WritableJndiNameEnvironment
Removes the specificed ejb reference from the receiver.- Specified by:
removeEjbReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
ejbReference
- the EjbReferenceDescriptor to remove.
-
addMessageDestinationReferenceDescriptor
public void addMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestReference)
Description copied from interface:MessageDestinationReferenceContainer
Add a message destination reference to myself- Specified by:
addMessageDestinationReferenceDescriptor
in interfaceMessageDestinationReferenceContainer
- Specified by:
addMessageDestinationReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
msgDestReference
- the MessageDestinationReferenceDescriptor to add.
-
getMessageDestinationReferenceByName
public MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name)
Description copied from interface:MessageDestinationReferenceContainer
Return a message destination reference by the same name or throw an IllegalArgumentException.- Specified by:
getMessageDestinationReferenceByName
in interfaceJndiNameEnvironment
- Specified by:
getMessageDestinationReferenceByName
in interfaceMessageDestinationReferenceContainer
- Returns:
- MessageDestinationReferenceDescriptor object
-
getMessageDestinationReferenceDescriptors
public Set<MessageDestinationReferenceDescriptor> getMessageDestinationReferenceDescriptors()
Description copied from interface:MessageDestinationReferenceContainer
Return the set of message destination references declared.- Specified by:
getMessageDestinationReferenceDescriptors
in interfaceJndiNameEnvironment
- Specified by:
getMessageDestinationReferenceDescriptors
in interfaceMessageDestinationReferenceContainer
- Returns:
- java.util.Set of MessageDestinationReferenceDescriptor objects
-
removeMessageDestinationReferenceDescriptor
public void removeMessageDestinationReferenceDescriptor(MessageDestinationReferenceDescriptor msgDestRef)
Description copied from interface:MessageDestinationReferenceContainer
Removes the specified message destination reference from the receiver.- Specified by:
removeMessageDestinationReferenceDescriptor
in interfaceMessageDestinationReferenceContainer
- Specified by:
removeMessageDestinationReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
msgDestRef
- MessageDestinationReferenceDescriptor to remove.
-
addEnvironmentProperty
public void addEnvironmentProperty(EnvironmentProperty environmentProperty)
Description copied from interface:WritableJndiNameEnvironment
Adds the specified environment property to the receiver.- Specified by:
addEnvironmentProperty
in interfaceWritableJndiNameEnvironment
- Parameters:
environmentProperty
- the EnvironmentProperty to add.
-
getEnvironmentProperties
public Set<EnvironmentProperty> getEnvironmentProperties()
Description copied from interface:JndiNameEnvironment
Return a set of environment properties.- Specified by:
getEnvironmentProperties
in interfaceJndiNameEnvironment
- Returns:
- java.util.Set of EnvironmentProperty objects
-
getEnvironmentPropertyByName
public EnvironmentProperty getEnvironmentPropertyByName(String name)
Description copied from interface:JndiNameEnvironment
Return the env-entry with the given name- Specified by:
getEnvironmentPropertyByName
in interfaceJndiNameEnvironment
- Returns:
- EnvironmentProperty descriptor
-
removeEnvironmentProperty
public void removeEnvironmentProperty(EnvironmentProperty environmentProperty)
Description copied from interface:WritableJndiNameEnvironment
Removes the specified environment property from receiver.- Specified by:
removeEnvironmentProperty
in interfaceWritableJndiNameEnvironment
- Parameters:
environmentProperty
- the EnvironmentProperty to remove.
-
addServiceReferenceDescriptor
public void addServiceReferenceDescriptor(ServiceReferenceDescriptor serviceReference)
Description copied from interface:WritableJndiNameEnvironment
Adds the specified service reference to the receiver.- Specified by:
addServiceReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
serviceReference
- the ServiceReferenceDescriptor to add.
-
getServiceReferenceDescriptors
public Set<ServiceReferenceDescriptor> getServiceReferenceDescriptors()
Description copied from interface:JndiNameEnvironment
Return a set of service reference descriptors.- Specified by:
getServiceReferenceDescriptors
in interfaceJndiNameEnvironment
- Returns:
- java.util.Set of ServiceReferenceDescriptor objects
-
getServiceReferenceByName
public ServiceReferenceDescriptor getServiceReferenceByName(String name)
Description copied from interface:JndiNameEnvironment
Return the Service reference descriptor corresponding to the given name.- Specified by:
getServiceReferenceByName
in interfaceJndiNameEnvironment
- Returns:
- ServiceReferenceDescriptor object
-
removeServiceReferenceDescriptor
public void removeServiceReferenceDescriptor(ServiceReferenceDescriptor serviceReference)
Description copied from interface:WritableJndiNameEnvironment
Removes the specified service reference from the receiver.- Specified by:
removeServiceReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
serviceReference
- the ServiceReferenceDescriptor to remove.
-
addResourceReferenceDescriptor
public void addResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Description copied from interface:ResourceReferenceContainer
Add a resource reference to the J2EEE component- Specified by:
addResourceReferenceDescriptor
in interfaceResourceReferenceContainer
- Specified by:
addResourceReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
resourceReference
- the ResourceReferenceDescriptor to add.
-
getResourceReferenceDescriptors
public Set<ResourceReferenceDescriptor> getResourceReferenceDescriptors()
Description copied from interface:ResourceReferenceContainer
Return the set of references to resources that I have.- Specified by:
getResourceReferenceDescriptors
in interfaceJndiNameEnvironment
- Specified by:
getResourceReferenceDescriptors
in interfaceResourceReferenceContainer
- Returns:
- java.util.Set of ResourceReferenceDescriptor objects
-
getResourceReferenceByName
public ResourceReferenceDescriptor getResourceReferenceByName(String name)
Description copied from interface:ResourceReferenceContainer
Looks up a reference to a resource by its name (getName()). Throws an IllegalArgumentException if no such descriptor is found.- Specified by:
getResourceReferenceByName
in interfaceResourceReferenceContainer
-
removeResourceReferenceDescriptor
public void removeResourceReferenceDescriptor(ResourceReferenceDescriptor resourceReference)
Description copied from interface:WritableJndiNameEnvironment
Removes the specified resource reference from the receiver.- Specified by:
removeResourceReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
resourceReference
- the ResourceReferenceDescriptor to remove.
-
addResourceEnvReferenceDescriptor
public void addResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvinationReference)
Description copied from interface:WritableJndiNameEnvironment
Adds the specified resource environment reference to the receiver.- Specified by:
addResourceEnvReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
resourceEnvinationReference
- the ResourceEnvReferenceDescriptor to add.
-
getResourceEnvReferenceDescriptors
public Set<ResourceEnvReferenceDescriptor> getResourceEnvReferenceDescriptors()
Description copied from interface:JndiNameEnvironment
Return a set of resource environment reference descriptors.- Specified by:
getResourceEnvReferenceDescriptors
in interfaceJndiNameEnvironment
- Returns:
- java.util.Set of ResourceEnvReferenceDescriptor objects
-
getResourceEnvReferenceByName
public ResourceEnvReferenceDescriptor getResourceEnvReferenceByName(String name)
Description copied from interface:JndiNameEnvironment
Return the resource environment reference descriptor corresponding to the given name.- Specified by:
getResourceEnvReferenceByName
in interfaceJndiNameEnvironment
- Returns:
- ResourceEnvReferenceDescriptor object
-
removeResourceEnvReferenceDescriptor
public void removeResourceEnvReferenceDescriptor(ResourceEnvReferenceDescriptor resourceEnvinationReference)
Description copied from interface:WritableJndiNameEnvironment
Removes the specified resource environment reference from the receiver.- Specified by:
removeResourceEnvReferenceDescriptor
in interfaceWritableJndiNameEnvironment
- Parameters:
resourceEnvinationReference
- the ResourceEnvReferenceDescriptor to remove.
-
addEntityManagerFactoryReferenceDescriptor
public void addEntityManagerFactoryReferenceDescriptor(EntityManagerFactoryReferenceDescriptor reference)
- Specified by:
addEntityManagerFactoryReferenceDescriptor
in interfaceWritableJndiNameEnvironment
-
getEntityManagerFactoryReferenceDescriptors
public Set<EntityManagerFactoryReferenceDescriptor> getEntityManagerFactoryReferenceDescriptors()
Description copied from interface:JndiNameEnvironment
Return a set of entity manager factory reference descriptors.- Specified by:
getEntityManagerFactoryReferenceDescriptors
in interfaceJndiNameEnvironment
-
getEntityManagerFactoryReferenceByName
public EntityManagerFactoryReferenceDescriptor getEntityManagerFactoryReferenceByName(String name)
Description copied from interface:JndiNameEnvironment
Return the entity manager factory reference descriptor corresponding to the given name.- Specified by:
getEntityManagerFactoryReferenceByName
in interfaceJndiNameEnvironment
-
addEntityManagerReferenceDescriptor
public void addEntityManagerReferenceDescriptor(EntityManagerReferenceDescriptor reference)
- Specified by:
addEntityManagerReferenceDescriptor
in interfaceWritableJndiNameEnvironment
-
getEntityManagerReferenceDescriptors
public Set<EntityManagerReferenceDescriptor> getEntityManagerReferenceDescriptors()
Description copied from interface:JndiNameEnvironment
Return a set of entity manager reference descriptors.- Specified by:
getEntityManagerReferenceDescriptors
in interfaceJndiNameEnvironment
-
getEntityManagerReferenceByName
public EntityManagerReferenceDescriptor getEntityManagerReferenceByName(String name)
Description copied from interface:JndiNameEnvironment
Return the entity manager reference descriptor corresponding to the given name.- Specified by:
getEntityManagerReferenceByName
in interfaceJndiNameEnvironment
-
getInjectableResourcesByClass
public List<InjectionCapable> getInjectableResourcesByClass(String className)
- Specified by:
getInjectableResourcesByClass
in interfaceJndiNameEnvironment
-
getInjectionInfoByClass
public InjectionInfo getInjectionInfoByClass(Class clazz)
- Specified by:
getInjectionInfoByClass
in interfaceJndiNameEnvironment
-
-