Class EjbBundleDescriptorImpl
java.lang.Object
java.util.Observable
org.glassfish.deployment.common.DynamicAttributesDescriptor
org.glassfish.deployment.common.Descriptor
org.glassfish.deployment.common.RootDeploymentDescriptor
com.sun.enterprise.deployment.BundleDescriptor
com.sun.enterprise.deployment.CommonResourceBundleDescriptor
com.sun.enterprise.deployment.EjbBundleDescriptor
org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl
- All Implemented Interfaces:
com.sun.enterprise.deployment.JndiNameEnvironment,com.sun.enterprise.deployment.Roles,com.sun.enterprise.deployment.types.EjbReferenceContainer,com.sun.enterprise.deployment.types.MessageDestinationReferenceContainer,com.sun.enterprise.deployment.types.ResourceEnvReferenceContainer,com.sun.enterprise.deployment.types.ResourceReferenceContainer,com.sun.enterprise.deployment.types.ServiceReferenceContainer,com.sun.enterprise.deployment.WritableJndiNameEnvironment,Serializable
public class EjbBundleDescriptorImpl
extends com.sun.enterprise.deployment.EjbBundleDescriptor
The concrete implementation of abstract super class com.sun.enterprise.deployment.EjbBundleDescriptor.
EjbBundleDescriptor could be changed from abstract class to an interface in the future, with this
class as its implementation.
- See Also:
-
Field Summary
Fields inherited from class org.glassfish.deployment.common.RootDeploymentDescriptor
classLoader, extensions, moduleDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddAroundConstructDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor aroundConstructDesc) voidaddEjb(EjbDescriptor ejbDescriptor) voidaddEjbReferenceDescriptor(com.sun.enterprise.deployment.EjbReferenceDescriptor ejbReference) Adds a reference to another ejb to me.voidaddEnterpriseBeansProperty(com.sun.enterprise.deployment.NameValuePairDescriptor newProp) voidaddEntityManagerFactoryReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor reference) voidaddEntityManagerReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerReferenceDescriptor reference) voidaddEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty) voidaddInterceptor(com.sun.enterprise.deployment.EjbInterceptor interceptor) voidaddMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor messageDestRef) voidvoidaddPostConstructDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor postConstructDesc) voidaddPreDestroyDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor preDestroyDesc) voidaddRelationship(RelationshipDescriptor relDesc) Add a RelationshipDescriptor which describes a CMR field between a bean/DO/entityRef in this ejb-jar.voidaddResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference) voidaddResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference) Adds a resource reference to me.voidaddSecurityRoleMapping(com.sun.enterprise.deployment.runtime.common.SecurityRoleMapping roleMapping) voidaddServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef) voidbooleanChecks whether the role references my ejbs have reference roles that I have.booleanCollection<? extends com.sun.enterprise.deployment.PersistenceUnitDescriptor>com.sun.enterprise.deployment.LifecycleCallbackDescriptorgetAroundConstructDescriptorByClass(String className) Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor>com.sun.enterprise.deployment.util.ComponentVisitorcom.sun.enterprise.deployment.ResourceReferenceDescriptorReturn the Resource I use for CMP.org.glassfish.deployment.common.DescriptorgetDescriptorByName(String name) getEjbByClassName(String className) Returns all ejb descriptors that has a give Class name.getEjbByName(String name) Returns an ejb descriptor that I have by the same name, otherwise throws an IllegalArgumentExceptiongetEjbByName(String name, boolean isCreateDummy) Returns an ejb descriptor that I have by the same name.getEjbBySEIName(String className) Returns all ejb descriptors that has a given Class name as the web service endpoint interface.Return the empty String or the entry name of the ejb client JAR in my archive if I have one.com.sun.enterprise.deployment.EjbReferenceDescriptorgetEjbReference(String name) com.sun.enterprise.deployment.types.EjbReferencegetEjbReferenceByName(String name) Return a reference to another ejb by the same name or throw an IllegalArgumentException.Set<com.sun.enterprise.deployment.EjbReferenceDescriptor>Returns the generated XML directory feturn the set of ejb references this ejb declares.Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor>Return the set of references to resources held by ejbs defined in this module.getEjbs()Return the Set of ejb descriptors that I have.Set<com.sun.enterprise.deployment.ServiceReferenceDescriptor>List<com.sun.enterprise.deployment.NameValuePairDescriptor>com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptorReturn the entity manager factory reference descriptor corresponding to the given name.Set<com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor>com.sun.enterprise.deployment.EntityManagerReferenceDescriptorReturn the entity manager factory reference descriptor corresponding to the given name.Set<com.sun.enterprise.deployment.EntityManagerReferenceDescriptor>Set<com.sun.enterprise.deployment.EnvironmentProperty>Return a copy of the structure holding the environment properties.com.sun.enterprise.deployment.EnvironmentPropertyReturns the environment property object searching on the supplied key.static intgetIdFromEjbId(long ejbId) List<com.sun.enterprise.deployment.InjectionCapable>getInjectableResourcesByClass(String className) protected List<com.sun.enterprise.deployment.InjectionCapable>getInjectableResourcesByClass(String className, com.sun.enterprise.deployment.JndiNameEnvironment jndiNameEnv) com.sun.enterprise.deployment.InjectionInfogetInjectionInfoByClass(Class clazz) com.sun.enterprise.deployment.EjbInterceptorgetInterceptorByClassName(String className) Set<com.sun.enterprise.deployment.EjbInterceptor>com.sun.enterprise.deployment.MessageDestinationReferenceDescriptorLooks up an message destination reference with the given name.Set<com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor>org.glassfish.api.deployment.archive.ArchiveTypegetName()Returns my name.Collection<com.sun.enterprise.deployment.NamedDescriptor>Return the set of NamedDescriptors that I have.Vector<com.sun.enterprise.deployment.NamedReferencePair>Return all the named descriptors I have together with the descriptor that references each one in a Vector of NameReferencePairs.com.sun.enterprise.deployment.LifecycleCallbackDescriptorgetPostConstructDescriptorByClass(String className) Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor>com.sun.enterprise.deployment.LifecycleCallbackDescriptorgetPreDestroyDescriptorByClass(String className) Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor>Get all relationships in this ejb-jar.EJB2.0: get description forelement. com.sun.enterprise.deployment.ResourceEnvReferenceDescriptorReturn a reference to another ejb by the same name or throw an IllegalArgumentException.Set<com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor>Return the set of resource environment references this ejb declares.com.sun.enterprise.deployment.ResourceReferenceDescriptorReturn the resource object corresponding to the supplied name or throw an illegal argument exception.Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor>Return the set of resource references this ejb declares.List<com.sun.enterprise.deployment.runtime.common.SecurityRoleMapping>com.sun.enterprise.deployment.ServiceReferenceDescriptorLooks up an service reference with the given name.Set<com.sun.enterprise.deployment.ServiceReferenceDescriptor>org.glassfish.deployment.common.DescriptorVisitorlongReturns the unique id used in a stand alone ejb module.booleanReturn true if I have roles, permissioned roles or container transactions.booleanReturn true if any of my ejb's methods have been assigned transaction attributes.booleanhasEjbByName(String name) Returns true if I have an ejb descriptor by that name.booleanReturn true if I reference other ejbs, false else.booleanbooleanReturns true if I have Roles to which method permissions have been assigned.booleanReturns true if given relationship is already part of this ejb-jar.booleanbooleanbooleanisEmpty()voidvoidprint(StringBuffer toStringBuffer) Returns a formatted String representing my state.voidremoveEjb(EjbDescriptor ejbDescriptor) Remove the given ejb descriptor from my (by equality).voidremoveEjbReferenceDescriptor(com.sun.enterprise.deployment.EjbReferenceDescriptor ejbReference) voidremoveEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty) Removes the given environment property from me.voidremoveMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor msgDestRef) voidremoveRelationship(RelationshipDescriptor relDesc) Add a RelationshipDescriptor which describes a CMR field between a bean/DO/entityRef in this ejb-jar.voidremoveResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference) voidremoveResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference) Removes the given resource reference from me.voidremoveRole(org.glassfish.security.common.Role role) Removes the given org.glassfish.security.common.Role object from me.voidremoveServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef) voidsetCMPResourceReference(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference) Sets the resource reference I use for CMP.voidsetDisableNonportableJndiNames(String disableOrNot) voidsetEjbClientJarUri(String ejbClientJarUri) voidvoidsetPersistenceManagerInuse(String id, String ver) voidvoidsetRelationshipsDescription(String relationshipsDescription) EJB2.0: set description forelement. voidsetUniqueId(long id) Sets the unique id for a stand alone ejb module.voidSetup EJB Ids during deployment and shouldn't be called at runtimevoidvisit(org.glassfish.deployment.common.DescriptorVisitor aVisitor) visit the descriptor and all sub descriptors with a DOL visitor implementationMethods inherited from class com.sun.enterprise.deployment.CommonResourceBundleDescriptor
addResourceDescriptor, getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptor, getResourceDescriptors, removeResourceDescriptorMethods inherited from class com.sun.enterprise.deployment.BundleDescriptor
addBundleDescriptor, addEntityManagerFactory, addManagedBean, addMessageDestination, addRole, addRole, addRootNode, findDefaultPU, findReferencedPU, findReferencedPUsViaPCRefs, findReferencedPUsViaPURefs, findReferencedPUViaEMFRef, findReferencedPUViaEMRef, getApplication, getClassLoader, getCompatibility, getDeploymentDescriptorDir, getEntityManagerFactories, getEntityManagerFactory, getInjectableResources, getInjectionInfoByClass, getKeepState, getManagedBeanByBeanClass, getManagedBeans, getMessageDestinationByName, getMessageDestinations, getModuleID, getModuleName, getNamedDescriptorsFrom, getNamedReferencePairsFrom, getPostConstructDescriptorByClass, getPreDestroyDescriptorByClass, getRawModuleID, getRoles, getRootNode, getUniqueFriendlyId, getVisiblePUs, getWebServiceEndpointByName, getWebServices, getWsdlDir, hasManagedBeanByBeanClass, hasMessageDestinationByName, hasWebServices, isApplication, isDDWithNoAnnotationAllowed, isFullAttribute, isFullFlag, isPackagedAsSingleModule, isPolicyModified, isStandalone, removeMessageDestination, setApplication, setCompatibility, setFullAttribute, setFullFlag, setKeepState, setPolicyModified, visitMethods inherited from class org.glassfish.deployment.common.RootDeploymentDescriptor
addExtensionDescriptor, getDisplayName, getExtensionsDescriptors, getExtensionsDescriptors, getExtensionsDescriptors, getMainDescriptor, getModuleDescriptor, getSchemaLocation, getSpecVersion, isExtensionDescriptor, setClassLoader, setDisplayName, setModuleDescriptor, setModuleID, setName, setSchemaLocation, setSpecVersionMethods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUriMethods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.enterprise.deployment.JndiNameEnvironment
getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptorsMethods inherited from interface com.sun.enterprise.deployment.WritableJndiNameEnvironment
addResourceDescriptor, removeResourceDescriptor
-
Constructor Details
-
EjbBundleDescriptorImpl
public EjbBundleDescriptorImpl()
-
-
Method Details
-
getDefaultSpecVersion
- Specified by:
getDefaultSpecVersionin classorg.glassfish.deployment.common.RootDeploymentDescriptor- Returns:
- the default version of the deployment descriptor loaded by this descriptor
-
getEjbClientJarUri
Return the empty String or the entry name of the ejb client JAR in my archive if I have one. -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin classorg.glassfish.deployment.common.RootDeploymentDescriptor
-
setEjbClientJarUri
-
addApplicationException
-
getApplicationExceptions
-
getNamedDescriptors
Return the set of NamedDescriptors that I have. -
getNamedReferencePairs
Return all the named descriptors I have together with the descriptor that references each one in a Vector of NameReferencePairs. -
getEjbResourceReferenceDescriptors
public Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor> getEjbResourceReferenceDescriptors()Return the set of references to resources held by ejbs defined in this module. -
hasEjbReferences
public boolean hasEjbReferences()Return true if I reference other ejbs, false else. -
getEjbs
Return the Set of ejb descriptors that I have.- Specified by:
getEjbsin classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
setupDataStructuresForRuntime
public void setupDataStructuresForRuntime()Setup EJB Ids during deployment and shouldn't be called at runtime -
hasEjbByName
Returns true if I have an ejb descriptor by that name.- Specified by:
hasEjbByNamein classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
getEjbByName
Returns an ejb descriptor that I have by the same name, otherwise throws an IllegalArgumentException- Specified by:
getEjbByNamein classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
getEjbByName
Returns an ejb descriptor that I have by the same name. Create a DummyEjbDescriptor if requested, otherwise throws an IllegalArgumentException -
getEjbByClassName
Returns all ejb descriptors that has a give Class name. It returns an empty array if no ejb is found.- Specified by:
getEjbByClassNamein classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
getEjbBySEIName
Returns all ejb descriptors that has a given Class name as the web service endpoint interface. It returns an empty array if no ejb is found.- Specified by:
getEjbBySEINamein classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
getDescriptorIds
- Returns:
- Collection of unique ID of EJBs within the same module
-
addEjb
-
removeEjb
Remove the given ejb descriptor from my (by equality). -
containsCMPEntity
public boolean containsCMPEntity()- Returns:
- true if this bundle descriptor contains at least one CMP EntityBean
-
addInterceptor
public void addInterceptor(com.sun.enterprise.deployment.EjbInterceptor interceptor) -
getInterceptorByClassName
- Specified by:
getInterceptorByClassNamein classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
hasInterceptors
public boolean hasInterceptors() -
getInterceptors
- Specified by:
getInterceptorsin classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
prependInterceptorBinding
-
appendInterceptorBinding
-
getInterceptorBindings
-
setInterceptorBindings
-
areResourceReferencesValid
public boolean areResourceReferencesValid()Checks whether the role references my ejbs have reference roles that I have. -
removeRole
public void removeRole(org.glassfish.security.common.Role role) Removes the given org.glassfish.security.common.Role object from me.- Specified by:
removeRolein interfacecom.sun.enterprise.deployment.Roles- Overrides:
removeRolein classcom.sun.enterprise.deployment.BundleDescriptor
-
hasPermissionedRoles
public boolean hasPermissionedRoles()Returns true if I have Roles to which method permissions have been assigned. -
hasContainerTransactions
public boolean hasContainerTransactions()Return true if any of my ejb's methods have been assigned transaction attributes. -
hasAssemblyInformation
public boolean hasAssemblyInformation()Return true if I have roles, permissioned roles or container transactions. -
addRelationship
Add a RelationshipDescriptor which describes a CMR field between a bean/DO/entityRef in this ejb-jar. -
removeRelationship
Add a RelationshipDescriptor which describes a CMR field between a bean/DO/entityRef in this ejb-jar. -
getRelationshipsDescription
EJB2.0: get description forelement. -
setRelationshipsDescription
EJB2.0: set description forelement. -
getRelationships
Get all relationships in this ejb-jar.- Returns:
- a Set of RelationshipDescriptors.
-
hasRelationships
public boolean hasRelationships() -
hasRelationship
Returns true if given relationship is already part of this ejb-jar. -
getCMPResourceReference
public com.sun.enterprise.deployment.ResourceReferenceDescriptor getCMPResourceReference()Return the Resource I use for CMP. -
setCMPResourceReference
public void setCMPResourceReference(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference) Sets the resource reference I use for CMP. -
getDescriptorByName
-
getName
Returns my name.- Overrides:
getNamein classorg.glassfish.deployment.common.RootDeploymentDescriptor
-
setUniqueId
public void setUniqueId(long id) Sets the unique id for a stand alone ejb module. It traverses through all the ejbs in this stand alone module and sets the unique id for each of them. The traversal order is done in ascending element order.Note: This method will not be called for application.
- Parameters:
id- unique id for stand alone module
-
getUniqueId
public long getUniqueId()Returns the unique id used in a stand alone ejb module. For application, this will return zero.- Returns:
- the unique if used in stand alone ejb module
-
getIdFromEjbId
public static int getIdFromEjbId(long ejbId) -
hasWebServiceClients
public boolean hasWebServiceClients()- Overrides:
hasWebServiceClientsin classcom.sun.enterprise.deployment.BundleDescriptor- Returns:
- true if this bundle descriptor defines web service clients
-
getEjbServiceReferenceDescriptors
public Set<com.sun.enterprise.deployment.ServiceReferenceDescriptor> getEjbServiceReferenceDescriptors()- Specified by:
getEjbServiceReferenceDescriptorsin classcom.sun.enterprise.deployment.EjbBundleDescriptor- Returns:
- a set of service-ref from ejbs contained in this bundle this bundle or empty set if none
-
print
Returns a formatted String representing my state.- Overrides:
printin classcom.sun.enterprise.deployment.BundleDescriptor
-
getTracerVisitor
public org.glassfish.deployment.common.DescriptorVisitor getTracerVisitor()- Overrides:
getTracerVisitorin classorg.glassfish.deployment.common.RootDeploymentDescriptor
-
getBundleVisitor
public com.sun.enterprise.deployment.util.ComponentVisitor getBundleVisitor()- Overrides:
getBundleVisitorin classcom.sun.enterprise.deployment.BundleDescriptor- Returns:
- the visitor for this bundle descriptor
-
visit
public void visit(org.glassfish.deployment.common.DescriptorVisitor aVisitor) visit the descriptor and all sub descriptors with a DOL visitor implementation- Overrides:
visitin classorg.glassfish.deployment.common.Descriptor- Parameters:
aVisitor- a visitor to traverse the descriptors
-
getModuleType
public org.glassfish.api.deployment.archive.ArchiveType getModuleType()- Specified by:
getModuleTypein classcom.sun.enterprise.deployment.BundleDescriptor- Returns:
- the module type for this bundle descriptor
-
setPersistenceManagerInuse
-
setPersistenceManagerInUse
-
getPersistenceManagerInUse
-
addPersistenceManager
-
getPreferredPersistenceManager
-
getPersistenceManagers
-
addSecurityRoleMapping
public void addSecurityRoleMapping(com.sun.enterprise.deployment.runtime.common.SecurityRoleMapping roleMapping) -
getSecurityRoleMappings
public List<com.sun.enterprise.deployment.runtime.common.SecurityRoleMapping> getSecurityRoleMappings() -
findReferencedPUs
public Collection<? extends com.sun.enterprise.deployment.PersistenceUnitDescriptor> findReferencedPUs()- Overrides:
findReferencedPUsin classcom.sun.enterprise.deployment.BundleDescriptor
-
getEjbReferenceDescriptors
Returns the generated XML directory feturn the set of ejb references this ejb declares. -
addEjbReferenceDescriptor
public void addEjbReferenceDescriptor(com.sun.enterprise.deployment.EjbReferenceDescriptor ejbReference) Adds a reference to another ejb to me. -
removeEjbReferenceDescriptor
public void removeEjbReferenceDescriptor(com.sun.enterprise.deployment.EjbReferenceDescriptor ejbReference) -
getEjbReferenceByName
Return a reference to another ejb by the same name or throw an IllegalArgumentException. -
getEjbReference
-
getServiceReferenceDescriptors
public Set<com.sun.enterprise.deployment.ServiceReferenceDescriptor> getServiceReferenceDescriptors() -
addServiceReferenceDescriptor
public void addServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef) -
removeServiceReferenceDescriptor
public void removeServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef) -
getServiceReferenceByName
public com.sun.enterprise.deployment.ServiceReferenceDescriptor getServiceReferenceByName(String name) Looks up an service reference with the given name. Throws an IllegalArgumentException if it is not found. -
getMessageDestinationReferenceDescriptors
public Set<com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor> getMessageDestinationReferenceDescriptors() -
addMessageDestinationReferenceDescriptor
public void addMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor messageDestRef) -
removeMessageDestinationReferenceDescriptor
public void removeMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor msgDestRef) -
getMessageDestinationReferenceByName
public com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name) Looks up an message destination reference with the given name. Throws an IllegalArgumentException if it is not found. -
getResourceEnvReferenceDescriptors
public Set<com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor> getResourceEnvReferenceDescriptors()Return the set of resource environment references this ejb declares. -
addResourceEnvReferenceDescriptor
public void addResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference) -
removeResourceEnvReferenceDescriptor
public void removeResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference) -
getResourceEnvReferenceByName
public com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor getResourceEnvReferenceByName(String name) Return a reference to another ejb by the same name or throw an IllegalArgumentException. -
getResourceReferenceDescriptors
public Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor> getResourceReferenceDescriptors()Return the set of resource references this ejb declares. -
addResourceReferenceDescriptor
public void addResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference) Adds a resource reference to me. -
removeResourceReferenceDescriptor
public void removeResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference) Removes the given resource reference from me. -
getResourceReferenceByName
public com.sun.enterprise.deployment.ResourceReferenceDescriptor getResourceReferenceByName(String name) Return the resource object corresponding to the supplied name or throw an illegal argument exception. -
getEnvironmentPropertyByName
Returns the environment property object searching on the supplied key. throws an illegal argument exception if no such environment property exists. -
getEnvironmentProperties
Return a copy of the structure holding the environment properties. -
addEnvironmentProperty
public void addEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty) -
removeEnvironmentProperty
public void removeEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty) Removes the given environment property from me. -
getEntityManagerFactoryReferenceDescriptors
public Set<com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor> getEntityManagerFactoryReferenceDescriptors() -
getEntityManagerFactoryReferenceByName
public com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor getEntityManagerFactoryReferenceByName(String name) Return the entity manager factory reference descriptor corresponding to the given name. -
addEntityManagerFactoryReferenceDescriptor
public void addEntityManagerFactoryReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor reference) -
getEntityManagerReferenceDescriptors
public Set<com.sun.enterprise.deployment.EntityManagerReferenceDescriptor> getEntityManagerReferenceDescriptors() -
getEntityManagerReferenceByName
public com.sun.enterprise.deployment.EntityManagerReferenceDescriptor getEntityManagerReferenceByName(String name) Return the entity manager factory reference descriptor corresponding to the given name. -
addEntityManagerReferenceDescriptor
public void addEntityManagerReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerReferenceDescriptor reference) -
getInjectableResourcesByClass
-
getInjectionInfoByClass
-
getDisableNonportableJndiNames
- Specified by:
getDisableNonportableJndiNamesin classcom.sun.enterprise.deployment.EjbBundleDescriptor
-
setDisableNonportableJndiNames
-
getAroundConstructDescriptors
public Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getAroundConstructDescriptors() -
addAroundConstructDescriptor
public void addAroundConstructDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor aroundConstructDesc) -
getAroundConstructDescriptorByClass
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getAroundConstructDescriptorByClass(String className) -
getPostConstructDescriptors
-
addPostConstructDescriptor
public void addPostConstructDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor postConstructDesc) -
getPostConstructDescriptorByClass
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getPostConstructDescriptorByClass(String className) -
getPreDestroyDescriptors
-
addPreDestroyDescriptor
public void addPreDestroyDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor preDestroyDesc) -
getPreDestroyDescriptorByClass
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getPreDestroyDescriptorByClass(String className) -
getEnterpriseBeansProperty
-
addEnterpriseBeansProperty
public void addEnterpriseBeansProperty(com.sun.enterprise.deployment.NameValuePairDescriptor newProp) -
getEnterpriseBeansProperties
-
getInjectableResourcesByClass
protected List<com.sun.enterprise.deployment.InjectionCapable> getInjectableResourcesByClass(String className, com.sun.enterprise.deployment.JndiNameEnvironment jndiNameEnv) - Overrides:
getInjectableResourcesByClassin classcom.sun.enterprise.deployment.BundleDescriptor
-