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

JndiNameEnvironment

public interface JndiNameEnvironment
Objects implementing this interface allow their environment properties, ejb references and resource references to be read.
author
Danny Coward

Fields Summary
Constructors Summary
Methods Summary
public java.util.SetgetEjbReferenceDescriptors()
Return a set of ejb reference descriptors.

return
java.util.Set of EjbReferenceDescriptor objects

public EntityManagerFactoryReferenceDescriptorgetEntityManagerFactoryReferenceByName(java.lang.String name)
Return the entity manager factory reference descriptor corresponding to the given name.

public java.util.SetgetEntityManagerFactoryReferenceDescriptors()
Return a set of entity manager factory reference descriptors.

public EntityManagerReferenceDescriptorgetEntityManagerReferenceByName(java.lang.String name)
Return the entity manager reference descriptor corresponding to the given name.

public java.util.SetgetEntityManagerReferenceDescriptors()
Return a set of entity manager reference descriptors.

public java.util.SetgetEnvironmentProperties()
Return a set of environment properties.

return
java.util.Set of EnvironmentProperty objects

public EnvironmentPropertygetEnvironmentPropertyByName(java.lang.String name)
Return the env-entry with the given name

return
EnvironmentProperty descriptor

public java.util.ListgetInjectableResourcesByClass(java.lang.String className)

public InjectionInfogetInjectionInfoByClass(java.lang.String className)

public JmsDestinationReferenceDescriptorgetJmsDestinationReferenceByName(java.lang.String name)
Return the JMS destination reference descriptor corresponding to the given name.

return
JmsDestinationReferenceDescriptor object

public java.util.SetgetJmsDestinationReferenceDescriptors()
Return a set of JMS destination reference descriptors.

return
java.util.Set of JmsDestinationReferenceDescriptor objects

public MessageDestinationReferenceDescriptorgetMessageDestinationReferenceByName(java.lang.String name)
Return the message destination reference descriptor corresponding to the given name.

return
MessageDestinationReferenceDescriptor object

public java.util.SetgetMessageDestinationReferenceDescriptors()
Return a set of message destination reference descriptors.

return
java.util.Set of MessageDestinationReferenceDescriptor objects

public LifecycleCallbackDescriptorgetPostConstructDescriptorByClass(java.lang.String className)
Return the post-construct descriptor corresponding to the given name.

return
LifecycleCallbackDescriptor post-construct object

public java.util.SetgetPostConstructDescriptors()
Return a set of post-construct descriptors.

return
java.util.Set of LifecycleCallbackDescriptor post-construct objects

public LifecycleCallbackDescriptorgetPreDestroyDescriptorByClass(java.lang.String className)
Return the pre-destroy descriptor corresponding to the given name.

return
LifecycleCallbackDescriptor pre-destroy object

public java.util.SetgetPreDestroyDescriptors()
Return a set of pre-destroy descriptors.

return
java.util.Set of LifecycleCallbackDescriptor pre-destroy objects

public java.util.SetgetResourceReferenceDescriptors()
Return a set of resource reference descriptors.

return
java.util.Set of ResourceReferenceDescriptor objects

public ServiceReferenceDescriptorgetServiceReferenceByName(java.lang.String name)
Return the Service reference descriptor corresponding to the given name.

return
ServiceReferenceDescriptor object

public java.util.SetgetServiceReferenceDescriptors()
Return a set of service reference descriptors.

return
java.util.Set of ServiceReferenceDescriptor objects