public abstract class EjbDescriptor
extends com.sun.enterprise.deployment.CommonResourceDescriptor
implements com.sun.enterprise.deployment.EjbDescriptor
| Modifier and Type | Field and Description |
|---|---|
static String |
DISTRIBUTED_TRANSACTION_SCOPE |
protected boolean |
isDistributedTxScope |
static String |
LOCAL_TRANSACTION_SCOPE |
protected com.sun.enterprise.deployment.RunAsIdentityDescriptor |
runAsIdentity |
protected String |
securityIdentityDescription |
protected String |
transactionType |
protected Boolean |
usesCallerIdentity |
protected boolean |
usesDefaultTransaction |
| Modifier | Constructor and Description |
|---|---|
protected |
EjbDescriptor()
Default constructor.
|
|
EjbDescriptor(EjbDescriptor other) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAllInterfaceMethodsIn(Collection methodDescriptors,
Class c,
String methodIntf) |
void |
addAroundInvokeDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor aroundInvokeDesc) |
void |
addAroundTimeoutDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor aroundTimeoutDesc) |
void |
addEjbDescriptor(EjbDescriptor other) |
void |
addEjbReferenceDescriptor(com.sun.enterprise.deployment.types.EjbReference ejbReference)
Adds a reference to another ejb to me.
|
void |
addEjbReferencer(com.sun.enterprise.deployment.EjbReferenceDescriptor ref) |
void |
addEntityManagerFactoryReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor reference) |
void |
addEntityManagerReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerReferenceDescriptor reference) |
void |
addEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty)
Add the supplied environment property to the ejb descriptor's list.
|
void |
addFrameworkInterceptor(com.sun.enterprise.deployment.InterceptorDescriptor interceptor) |
void |
addInterceptorClass(com.sun.enterprise.deployment.EjbInterceptor interceptor) |
void |
addIORConfigurationDescriptor(com.sun.enterprise.deployment.EjbIORConfigurationDescriptor val) |
void |
addLocalBusinessClassName(String className) |
void |
addMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor messageDestRef) |
void |
addMethodLevelChain(List<com.sun.enterprise.deployment.EjbInterceptor> chain,
Method m,
boolean aroundInvoke) |
void |
addNoInterfaceLocalBeanClass(String className)
Add a classname for a no-interface view of the local ejb
|
void |
addPermissionedMethod(com.sun.enterprise.deployment.MethodPermission mp,
com.sun.enterprise.deployment.MethodDescriptor md)
Add a new method permission to a method or a set of methods
|
void |
addPostConstructDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor postConstructDesc) |
void |
addPreDestroyDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor preDestroyDesc) |
void |
addRemoteBusinessClassName(String className) |
void |
addResourceDescriptor(com.sun.enterprise.deployment.ResourceDescriptor descriptor) |
void |
addResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference) |
void |
addResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference)
Adds a resource reference to me.
|
void |
addRoleReference(com.sun.enterprise.deployment.RoleReference roleReference)
Adds a role reference.
|
void |
addScheduledTimerDescriptor(ScheduledTimerDescriptor scheduleDescriptor) |
void |
addScheduledTimerDescriptorFromDD(ScheduledTimerDescriptor scheduleDescriptor)
Special method for overrides because more than one schedule can be specified on a single method
|
void |
addServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef) |
boolean |
allMechanismsRequireSSL()
This method determines if all the mechanisms defined in the
CSIV2 CompoundSecMechList structure require protected
invocations.
|
void |
appendToInterceptorChain(List<com.sun.enterprise.deployment.EjbInterceptor> chain) |
void |
applyDefaultClassToLifecycleMethods()
Since ejb-class is optional, in some cases the lifecycle-class
for AroundInvoke, PostConstruct, etc.
|
void |
applyInterceptors(InterceptorBindingTranslator bindingTranslator)
Derive all interceptors that are applicable to this bean.
|
Set |
getAllEjbReferencers() |
Set<com.sun.enterprise.deployment.ResourceDescriptor> |
getAllResourcesDescriptors() |
Set<com.sun.enterprise.deployment.ResourceDescriptor> |
getAllResourcesDescriptors(Class givenClazz) |
com.sun.enterprise.deployment.Application |
getApplication()
Gets the application to which this ejb descriptor belongs.
|
com.sun.enterprise.deployment.LifecycleCallbackDescriptor |
getAroundInvokeDescriptorByClass(String className) |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getAroundInvokeDescriptors() |
List<com.sun.enterprise.deployment.EjbInterceptor> |
getAroundInvokeInterceptors(com.sun.enterprise.deployment.MethodDescriptor businessMethod)
Return the ordered list of interceptor info for AroundInvoke behavior
of a particular business method.
|
com.sun.enterprise.deployment.LifecycleCallbackDescriptor |
getAroundTimeoutDescriptorByClass(String className) |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getAroundTimeoutDescriptors() |
List<com.sun.enterprise.deployment.EjbInterceptor> |
getAroundTimeoutInterceptors(com.sun.enterprise.deployment.MethodDescriptor businessMethod)
Return the ordered list of interceptor info for AroundTimeout behavior
of a particular business method.
|
com.sun.enterprise.deployment.MethodDescriptor |
getBusinessMethodDescriptorFor(Method m,
String methodIntf) |
List<com.sun.enterprise.deployment.EjbInterceptor> |
getCallbackInterceptors(com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType type)
Return the ordered list of interceptor info for a particular
callback event type.
|
Set |
getClientBusinessMethodDescriptors()
Returns the set of local/remote/no-interface view business method descriptors I have.
|
abstract String |
getContainerFactoryQualifier() |
ContainerTransaction |
getContainerTransaction()
returns a ContainerTransaction if all the transactional methods on
the ejb descriptor have the same transaction type else return null
|
ContainerTransaction |
getContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor)
Fetches the assigned container transaction object for the given method object or null.
|
EjbBundleDescriptorImpl |
getEjbBundleDescriptor()
Gets the containing ejb bundle descriptor..
|
String |
getEjbClassName()
Returns the classname of the ejb.
|
String |
getEjbImplClassName()
IASRI 4725194
Returns the Execution class ,which is same as the user-specified class
in case of Message,Session and Bean Managed Persistence Entity Beans
but is different for Container Mananged Persistence Entity Bean
Therefore,the implementation in the base class is to return
getEjbClassName() and the method is redefined in IASEjbCMPDescriptor.
|
String |
getEJBLocalObjectImplClassName()
Returns the classname of the EJBLocalObject impl.
|
String |
getEJBObjectImplClassName()
Returns the classname of the EJBObject impl.
|
com.sun.enterprise.deployment.types.EjbReference |
getEjbReference(String name)
Return a reference to another ejb by the same name or throw an
IllegalArgumentException.
|
Set<com.sun.enterprise.deployment.types.EjbReference> |
getEjbReferenceDescriptors()
Return the set of ejb references this ejb declares.
|
com.sun.enterprise.deployment.MethodDescriptor |
getEjbTimeoutMethod() |
abstract String |
getEjbTypeForDisplay() |
com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor |
getEntityManagerFactoryReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to
the given name.
|
Set<com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor> |
getEntityManagerFactoryReferenceDescriptors() |
com.sun.enterprise.deployment.EntityManagerReferenceDescriptor |
getEntityManagerReferenceByName(String name)
Return the entity manager factory reference descriptor corresponding to
the given name.
|
Set<com.sun.enterprise.deployment.EntityManagerReferenceDescriptor> |
getEntityManagerReferenceDescriptors() |
Set<com.sun.enterprise.deployment.EnvironmentProperty> |
getEnvironmentProperties()
Return a copy of the structure holding the environment properties.
|
com.sun.enterprise.deployment.EnvironmentProperty |
getEnvironmentPropertyByName(String name)
Returns the environment property object searching on the supplied key.
|
Set |
getExcludedMethodDescriptors() |
Vector |
getFieldDescriptors() |
Vector |
getFields()
Return a Vector of the Field objetcs of this ejb.
|
List<com.sun.enterprise.deployment.InterceptorDescriptor> |
getFrameworkInterceptors() |
String |
getHomeClassName()
Returns the classname of the Home interface of this ejb.
|
IASEjbExtraDescriptors |
getIASEjbExtraDescriptors()
returns the extra iAS specific info (not in the RI DID) in the iAS DTD.
|
List<com.sun.enterprise.deployment.InjectionCapable> |
getInjectableResourcesByClass(String className) |
com.sun.enterprise.deployment.InjectionInfo |
getInjectionInfoByClass(Class clazz) |
List<com.sun.enterprise.deployment.EjbInterceptor> |
getInterceptorChain() |
Set<com.sun.enterprise.deployment.EjbInterceptor> |
getInterceptorClasses()
Return an unordered set of interceptor descriptors for this bean.
|
Set<String> |
getInterceptorClassNames()
Return an unordered set of the names of all interceptor classes
for this bean.
|
Set<com.sun.enterprise.deployment.EjbIORConfigurationDescriptor> |
getIORConfigurationDescriptors() |
String |
getJndiName() |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getLifecycleCallbackDescriptors() |
Set<String> |
getLocalBusinessClassNames()
Returns the set of local business interface names for this ejb.
|
String |
getLocalClassName() |
String |
getLocalHomeClassName() |
String |
getLocalHomeImplClassName()
Returns the classname of the Local home impl.
|
String |
getMappedName() |
com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor |
getMessageDestinationReferenceByName(String name)
Looks up an message destination reference with the given name.
|
Set<com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor> |
getMessageDestinationReferenceDescriptors() |
Hashtable |
getMethodContainerTransactions()
Return a copy of the mapping held internally of method descriptors to container transaction objects.
|
Set |
getMethodDescriptors()
Returns the full set of method descriptors I have (from all the methods on my home and remote interfaces).
|
Map<com.sun.enterprise.deployment.MethodDescriptor,List<com.sun.enterprise.deployment.EjbInterceptor>> |
getMethodInterceptorsMap() |
Set |
getMethodPermissionsFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor) |
HashMap |
getMethodPermissionsFromDD()
Get a record of all the Method Permissions exactly as they were in the`DD
|
Vector |
getMethods()
Return the set of method objects on my home and remote interfaces.
|
Vector |
getMethods(ClassLoader classLoader)
Return the ejb method objects, i.e.
|
Set<String> |
getNoInterfaceLocalBeanClasses() |
Set<Method> |
getOptionalLocalBusinessMethods()
Return the set of method objects representing no-interface view
|
Map |
getPermissionedMethodsByPermission() |
Set<org.glassfish.security.common.Role> |
getPermissionedRoles() |
Vector |
getPossibleTransactionAttributes()
Returns the set of transaction attributes that can be assigned
to methods of this ejb when in CMT mode.
|
com.sun.enterprise.deployment.LifecycleCallbackDescriptor |
getPostConstructDescriptorByClass(String className) |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getPostConstructDescriptors() |
com.sun.enterprise.deployment.LifecycleCallbackDescriptor |
getPreDestroyDescriptorByClass(String className) |
Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> |
getPreDestroyDescriptors() |
Set<String> |
getRemoteBusinessClassNames()
Returns the set of remote business interface names for this ejb.
|
String |
getRemoteClassName()
Returns the classname of the Remote interface of this ejb.
|
String |
getRemoteHomeImplClassName()
Returns the classname of the remote home impl.
|
Set<com.sun.enterprise.deployment.ResourceDescriptor> |
getResourceDescriptors(org.glassfish.deployment.common.JavaEEResourceType type) |
com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor |
getResourceEnvReferenceByName(String name) |
Set<com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor> |
getResourceEnvReferenceDescriptors()
Return the set of resource environment references this ejb declares.
|
com.sun.enterprise.deployment.ResourceReferenceDescriptor |
getResourceReferenceByName(String name)
Return the resource object corresponding to the supplied name or
throw an illegal argument exception.
|
Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor> |
getResourceReferenceDescriptors()
Return the set of resource references this ejb declares.
|
Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor> |
getResourceReferenceDescriptors(boolean resolved)
Return the set of resource references this ejb declares that
have been resolved.
|
com.sun.enterprise.deployment.RoleReference |
getRoleReferenceByName(String roleReferenceName)
Returns a matching role reference by name or throw an IllegalArgumentException.
|
Set<com.sun.enterprise.deployment.RoleReference> |
getRoleReferences()
Return a copy of the role references set.
|
com.sun.enterprise.deployment.RunAsIdentityDescriptor |
getRunAsIdentity() |
List<ScheduledTimerDescriptor> |
getScheduledTimerDescriptors() |
Set |
getSecurityBusinessMethodDescriptors()
Returns the full set of security business method descriptors I have.
|
String |
getSecurityIdentityDescription()
Get the description field of security-identity
|
com.sun.enterprise.deployment.ServiceReferenceDescriptor |
getServiceReferenceByName(String name)
Looks up an service reference with the given name.
|
Set<com.sun.enterprise.deployment.ServiceReferenceDescriptor> |
getServiceReferenceDescriptors() |
Map |
getStyledPermissionedMethodsByPermission() |
Collection |
getTransactionMethodDescriptors() |
protected Collection |
getTransactionMethods(ClassLoader classLoader) |
String |
getTransactionType()
The transaction type of this ejb.
|
Set |
getTxBusinessMethodDescriptors()
Returns the full set of transactional business method descriptors I have.
|
Set |
getUncheckedMethodDescriptors() |
long |
getUniqueId() |
Boolean |
getUsesCallerIdentity()
Get the usesCallerIdentity flag
|
String |
getWebServiceEndpointInterfaceName() |
boolean |
hasAroundInvokeMethod() |
boolean |
hasAroundTimeoutMethod() |
boolean |
hasInterceptorClass(String interceptorClassName) |
boolean |
hasPostConstructMethod() |
boolean |
hasPreDestroyMethod() |
boolean |
hasResolvedResourceReferences()
Returns true if this ejb descriptor has resource references that are
resolved.
|
boolean |
hasScheduledTimerMethodFromDD(Method timerMethod) |
boolean |
hasWebServiceEndpointInterface() |
boolean |
isDistributedTransactionScope()
Gets the transaction scope of this ejb.
|
boolean |
isLocalBean() |
boolean |
isLocalBusinessInterfacesSupported() |
boolean |
isLocalInterfacesSupported() |
boolean |
isRemoteBusinessInterfacesSupported() |
boolean |
isRemoteInterfacesSupported() |
boolean |
isTimedObject() |
boolean |
isUsesDefaultTransaction() |
void |
notifyNewModule(com.sun.enterprise.deployment.WebBundleDescriptor wbd)
Called by WebArchivist to notify this EjbDescriptor that
it has been associated with a web bundle.
|
void |
print(StringBuffer toStringBuffer)
Returns a formatted String of the attributes of this object.
|
void |
removeEjbReferenceDescriptor(com.sun.enterprise.deployment.types.EjbReference ejbReference) |
void |
removeEjbReferencer(com.sun.enterprise.deployment.EjbReferenceDescriptor ref) |
void |
removeEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty)
Removes the given environment property from me.
|
void |
removeMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor msgDestRef) |
void |
removePermissionedMethod(com.sun.enterprise.deployment.MethodPermission mp,
com.sun.enterprise.deployment.MethodDescriptor md)
Remove a method permission from a method or a set of methods
|
void |
removeResourceDescriptor(com.sun.enterprise.deployment.ResourceDescriptor descriptor) |
void |
removeResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference) |
void |
removeResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference)
Removes the given resource reference from me.
|
void |
removeRoleReference(com.sun.enterprise.deployment.RoleReference roleReference)
Removes a role reference.
|
void |
removeServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef) |
void |
setContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
Sets the container transaction for the given method descriptor.
|
void |
setDistributedTransactionScope(boolean scope)
Set the transaction scope of this ejb.
|
void |
setEjbBundleDescriptor(EjbBundleDescriptorImpl bundleDescriptor) |
void |
setEjbClassName(String ejbClassName)
Sets the classname of the ejb.
|
void |
setEJBLocalObjectImplClassName(String name)
Sets the EJBLocalObject implementation classname of the ejb.
|
void |
setEJBObjectImplClassName(String name)
Sets the EJBObject implementation classname of the ejb.
|
void |
setEjbTimeoutMethod(com.sun.enterprise.deployment.MethodDescriptor method) |
void |
setHomeClassName(String homeClassName)
Sets the classname of the Home interface of this ejb.
|
void |
setJndiName(String jndiName) |
void |
setLocalBean(boolean localBean)
Marks this ejb as a LocalBean.
|
void |
setLocalClassName(String localClassName)
Sets the classname for the local interface of this ejb
|
void |
setLocalHomeClassName(String localHomeClassName)
Sets the classname for the local home interface of this ejb
|
void |
setLocalHomeImplClassName(String name)
Sets the Local home implementation classname of the ejb.
|
void |
setMappedName(String mappedName) |
void |
setMethodContainerTransactions(Hashtable methodContainerTransactions)
Sets the container transactions for all the method descriptors of this ejb.
|
void |
setRemoteClassName(String remoteClassName)
Sets the classname of the Remote interface of this ejb.
|
void |
setRemoteHomeImplClassName(String name)
Sets the remote home implementation classname of the ejb.
|
void |
setRunAsIdentity(com.sun.enterprise.deployment.RunAsIdentityDescriptor desc) |
void |
setSecurityIdentityDescription(String s)
Set the description field of security-identity
|
abstract void |
setTransactionType(String transactionType)
Set the transaction type of this ejb.
|
abstract void |
setType(String type) |
void |
setUniqueId(long id) |
void |
setUsesCallerIdentity(boolean flag)
Set the usesCallerIdentity flag
|
void |
setUsesDefaultTransaction()
Have default method transaction if isBoundsChecking is on.
|
void |
setWebServiceEndpointInterfaceName(String name) |
void |
visit(org.glassfish.deployment.common.DescriptorVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation
|
void |
visit(EjbVisitor aVisitor)
visit the descriptor and all sub descriptors with a DOL visitor implementation
|
getResourceDescriptoraddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUriaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static final String LOCAL_TRANSACTION_SCOPE
public static final String DISTRIBUTED_TRANSACTION_SCOPE
protected String transactionType
protected boolean usesDefaultTransaction
protected Boolean usesCallerIdentity
protected String securityIdentityDescription
protected boolean isDistributedTxScope
protected com.sun.enterprise.deployment.RunAsIdentityDescriptor runAsIdentity
protected EjbDescriptor()
public EjbDescriptor(EjbDescriptor other)
public IASEjbExtraDescriptors getIASEjbExtraDescriptors()
public abstract String getEjbTypeForDisplay()
getEjbTypeForDisplay in interface com.sun.enterprise.deployment.EjbDescriptorpublic void addEjbDescriptor(EjbDescriptor other)
public abstract void setType(String type)
public String getHomeClassName()
getHomeClassName in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setHomeClassName(String homeClassName)
public void setRemoteClassName(String remoteClassName)
public String getRemoteClassName()
getRemoteClassName in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setLocalHomeClassName(String localHomeClassName)
localHomeClassName - fully qualified class name for the interfacepublic String getLocalHomeClassName()
getLocalHomeClassName in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setLocalClassName(String localClassName)
localClassName - fully qualified class name for the interfacepublic String getLocalClassName()
getLocalClassName in interface com.sun.enterprise.deployment.EjbDescriptorpublic void addNoInterfaceLocalBeanClass(String className)
className - fully qualified class name for the interfacepublic Set<String> getNoInterfaceLocalBeanClasses()
public void addRemoteBusinessClassName(String className)
public void addLocalBusinessClassName(String className)
public Set<String> getRemoteBusinessClassNames()
getRemoteBusinessClassNames in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set<String> getLocalBusinessClassNames()
getLocalBusinessClassNames in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setWebServiceEndpointInterfaceName(String name)
setWebServiceEndpointInterfaceName in interface com.sun.enterprise.deployment.EjbDescriptorpublic String getWebServiceEndpointInterfaceName()
getWebServiceEndpointInterfaceName in interface com.sun.enterprise.deployment.EjbDescriptorpublic String getJndiName()
getJndiName in interface com.sun.enterprise.deployment.NamedDescriptorpublic void setJndiName(String jndiName)
setJndiName in interface com.sun.enterprise.deployment.NamedDescriptorpublic String getMappedName()
public void setMappedName(String mappedName)
public void setLocalBean(boolean localBean)
public boolean isLocalInterfacesSupported()
isLocalInterfacesSupported in interface com.sun.enterprise.deployment.EjbDescriptorpublic boolean isLocalBusinessInterfacesSupported()
isLocalBusinessInterfacesSupported in interface com.sun.enterprise.deployment.EjbDescriptorpublic boolean isRemoteInterfacesSupported()
isRemoteInterfacesSupported in interface com.sun.enterprise.deployment.EjbDescriptorpublic boolean isRemoteBusinessInterfacesSupported()
isRemoteBusinessInterfacesSupported in interface com.sun.enterprise.deployment.EjbDescriptorpublic boolean hasWebServiceEndpointInterface()
hasWebServiceEndpointInterface in interface com.sun.enterprise.deployment.EjbDescriptorpublic boolean isLocalBean()
isLocalBean in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setEjbClassName(String ejbClassName)
public String getEjbClassName()
getEjbClassName in interface com.sun.enterprise.deployment.EjbDescriptorpublic String getEjbImplClassName()
getEjbImplClassName in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setRemoteHomeImplClassName(String name)
public String getRemoteHomeImplClassName()
public void setLocalHomeImplClassName(String name)
public String getLocalHomeImplClassName()
public void setEJBLocalObjectImplClassName(String name)
public String getEJBLocalObjectImplClassName()
public void setEJBObjectImplClassName(String name)
public String getEJBObjectImplClassName()
public String getTransactionType()
getTransactionType in interface com.sun.enterprise.deployment.EjbDescriptorpublic abstract void setTransactionType(String transactionType)
public Vector getPossibleTransactionAttributes()
public boolean isTimedObject()
public com.sun.enterprise.deployment.MethodDescriptor getEjbTimeoutMethod()
public void setEjbTimeoutMethod(com.sun.enterprise.deployment.MethodDescriptor method)
public void addScheduledTimerDescriptor(ScheduledTimerDescriptor scheduleDescriptor)
public void addScheduledTimerDescriptorFromDD(ScheduledTimerDescriptor scheduleDescriptor)
public boolean hasScheduledTimerMethodFromDD(Method timerMethod)
public List<ScheduledTimerDescriptor> getScheduledTimerDescriptors()
public Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getAroundInvokeDescriptors()
public void addAroundInvokeDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor aroundInvokeDesc)
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getAroundInvokeDescriptorByClass(String className)
public boolean hasAroundInvokeMethod()
public Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getAroundTimeoutDescriptors()
public void addAroundTimeoutDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor aroundTimeoutDesc)
public com.sun.enterprise.deployment.LifecycleCallbackDescriptor getAroundTimeoutDescriptorByClass(String className)
public boolean hasAroundTimeoutMethod()
public void addFrameworkInterceptor(com.sun.enterprise.deployment.InterceptorDescriptor interceptor)
addFrameworkInterceptor in interface com.sun.enterprise.deployment.EjbDescriptorpublic List<com.sun.enterprise.deployment.InterceptorDescriptor> getFrameworkInterceptors()
public void applyDefaultClassToLifecycleMethods()
public Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getLifecycleCallbackDescriptors()
public void applyInterceptors(InterceptorBindingTranslator bindingTranslator)
public boolean hasInterceptorClass(String interceptorClassName)
hasInterceptorClass in interface com.sun.enterprise.deployment.EjbDescriptorpublic void addInterceptorClass(com.sun.enterprise.deployment.EjbInterceptor interceptor)
addInterceptorClass in interface com.sun.enterprise.deployment.EjbDescriptorpublic void appendToInterceptorChain(List<com.sun.enterprise.deployment.EjbInterceptor> chain)
appendToInterceptorChain in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set<com.sun.enterprise.deployment.EjbInterceptor> getInterceptorClasses()
public Set<String> getInterceptorClassNames()
public Map<com.sun.enterprise.deployment.MethodDescriptor,List<com.sun.enterprise.deployment.EjbInterceptor>> getMethodInterceptorsMap()
public List<com.sun.enterprise.deployment.EjbInterceptor> getInterceptorChain()
public List<com.sun.enterprise.deployment.EjbInterceptor> getAroundInvokeInterceptors(com.sun.enterprise.deployment.MethodDescriptor businessMethod)
public List<com.sun.enterprise.deployment.EjbInterceptor> getAroundTimeoutInterceptors(com.sun.enterprise.deployment.MethodDescriptor businessMethod)
public void addMethodLevelChain(List<com.sun.enterprise.deployment.EjbInterceptor> chain, Method m, boolean aroundInvoke)
addMethodLevelChain in interface com.sun.enterprise.deployment.EjbDescriptorpublic List<com.sun.enterprise.deployment.EjbInterceptor> getCallbackInterceptors(com.sun.enterprise.deployment.LifecycleCallbackDescriptor.CallbackType type)
public boolean isDistributedTransactionScope()
public void setDistributedTransactionScope(boolean scope)
public void setUsesCallerIdentity(boolean flag)
setUsesCallerIdentity in interface com.sun.enterprise.deployment.EjbDescriptorpublic Boolean getUsesCallerIdentity()
getUsesCallerIdentity in interface com.sun.enterprise.deployment.EjbDescriptorpublic String getSecurityIdentityDescription()
public void setSecurityIdentityDescription(String s)
public void setRunAsIdentity(com.sun.enterprise.deployment.RunAsIdentityDescriptor desc)
setRunAsIdentity in interface com.sun.enterprise.deployment.EjbDescriptorpublic com.sun.enterprise.deployment.RunAsIdentityDescriptor getRunAsIdentity()
getRunAsIdentity in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setUsesDefaultTransaction()
public boolean isUsesDefaultTransaction()
public Hashtable getMethodContainerTransactions()
public void setContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor,
ContainerTransaction containerTransaction)
public void setMethodContainerTransactions(Hashtable methodContainerTransactions)
public ContainerTransaction getContainerTransactionFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor)
public ContainerTransaction getContainerTransaction()
public Set<com.sun.enterprise.deployment.EjbIORConfigurationDescriptor> getIORConfigurationDescriptors()
getIORConfigurationDescriptors in interface com.sun.enterprise.deployment.EjbDescriptorpublic void addIORConfigurationDescriptor(com.sun.enterprise.deployment.EjbIORConfigurationDescriptor val)
public Set<org.glassfish.security.common.Role> getPermissionedRoles()
getPermissionedRoles in interface com.sun.enterprise.deployment.EjbDescriptorpublic Map getPermissionedMethodsByPermission()
public void addPermissionedMethod(com.sun.enterprise.deployment.MethodPermission mp,
com.sun.enterprise.deployment.MethodDescriptor md)
addPermissionedMethod in interface com.sun.enterprise.deployment.EjbDescriptormp - is the new method permission to assignmd - describe the method or set of methods this permission apply topublic HashMap getMethodPermissionsFromDD()
getMethodPermissionsFromDD in interface com.sun.enterprise.deployment.EjbDescriptorpublic void removePermissionedMethod(com.sun.enterprise.deployment.MethodPermission mp,
com.sun.enterprise.deployment.MethodDescriptor md)
mp - is the method permission to removemd - describe the method or set of methods this permission apply topublic Map getStyledPermissionedMethodsByPermission()
public Set getUncheckedMethodDescriptors()
public Set getExcludedMethodDescriptors()
public Set getMethodPermissionsFor(com.sun.enterprise.deployment.MethodDescriptor methodDescriptor)
getMethodPermissionsFor in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set<com.sun.enterprise.deployment.types.EjbReference> getEjbReferenceDescriptors()
getEjbReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetEjbReferenceDescriptors in interface com.sun.enterprise.deployment.types.EjbReferenceContainerpublic void addEjbReferenceDescriptor(com.sun.enterprise.deployment.types.EjbReference ejbReference)
addEjbReferenceDescriptor in interface com.sun.enterprise.deployment.types.EjbReferenceContaineraddEjbReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic void removeEjbReferenceDescriptor(com.sun.enterprise.deployment.types.EjbReference ejbReference)
removeEjbReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getPostConstructDescriptors()
getPostConstructDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic void addPostConstructDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor postConstructDesc)
addPostConstructDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic com.sun.enterprise.deployment.LifecycleCallbackDescriptor getPostConstructDescriptorByClass(String className)
getPostConstructDescriptorByClass in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic Set<com.sun.enterprise.deployment.LifecycleCallbackDescriptor> getPreDestroyDescriptors()
getPreDestroyDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic void addPreDestroyDescriptor(com.sun.enterprise.deployment.LifecycleCallbackDescriptor preDestroyDesc)
addPreDestroyDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic com.sun.enterprise.deployment.LifecycleCallbackDescriptor getPreDestroyDescriptorByClass(String className)
getPreDestroyDescriptorByClass in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic Set<com.sun.enterprise.deployment.ServiceReferenceDescriptor> getServiceReferenceDescriptors()
getServiceReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetServiceReferenceDescriptors in interface com.sun.enterprise.deployment.types.ServiceReferenceContainerpublic void addServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef)
addServiceReferenceDescriptor in interface com.sun.enterprise.deployment.types.ServiceReferenceContaineraddServiceReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic void removeServiceReferenceDescriptor(com.sun.enterprise.deployment.ServiceReferenceDescriptor serviceRef)
removeServiceReferenceDescriptor in interface com.sun.enterprise.deployment.types.ServiceReferenceContainerremoveServiceReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic com.sun.enterprise.deployment.ServiceReferenceDescriptor getServiceReferenceByName(String name)
getServiceReferenceByName in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetServiceReferenceByName in interface com.sun.enterprise.deployment.types.ServiceReferenceContainerpublic Set<com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor> getMessageDestinationReferenceDescriptors()
getMessageDestinationReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetMessageDestinationReferenceDescriptors in interface com.sun.enterprise.deployment.types.MessageDestinationReferenceContainerpublic void addMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor messageDestRef)
addMessageDestinationReferenceDescriptor in interface com.sun.enterprise.deployment.types.MessageDestinationReferenceContaineraddMessageDestinationReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic void removeMessageDestinationReferenceDescriptor(com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor msgDestRef)
removeMessageDestinationReferenceDescriptor in interface com.sun.enterprise.deployment.types.MessageDestinationReferenceContainerremoveMessageDestinationReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic com.sun.enterprise.deployment.MessageDestinationReferenceDescriptor getMessageDestinationReferenceByName(String name)
getMessageDestinationReferenceByName in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetMessageDestinationReferenceByName in interface com.sun.enterprise.deployment.types.MessageDestinationReferenceContainerpublic Set<com.sun.enterprise.deployment.ResourceDescriptor> getResourceDescriptors(org.glassfish.deployment.common.JavaEEResourceType type)
getResourceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetResourceDescriptors in class com.sun.enterprise.deployment.CommonResourceDescriptorpublic void addResourceDescriptor(com.sun.enterprise.deployment.ResourceDescriptor descriptor)
addResourceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentaddResourceDescriptor in class com.sun.enterprise.deployment.CommonResourceDescriptorpublic void removeResourceDescriptor(com.sun.enterprise.deployment.ResourceDescriptor descriptor)
removeResourceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentremoveResourceDescriptor in class com.sun.enterprise.deployment.CommonResourceDescriptorpublic Set<com.sun.enterprise.deployment.ResourceDescriptor> getAllResourcesDescriptors()
getAllResourcesDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetAllResourcesDescriptors in class com.sun.enterprise.deployment.CommonResourceDescriptorpublic Set<com.sun.enterprise.deployment.ResourceDescriptor> getAllResourcesDescriptors(Class givenClazz)
getAllResourcesDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetAllResourcesDescriptors in class com.sun.enterprise.deployment.CommonResourceDescriptorpublic Set<com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor> getResourceEnvReferenceDescriptors()
getResourceEnvReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetResourceEnvReferenceDescriptors in interface com.sun.enterprise.deployment.types.ResourceEnvReferenceContainerpublic void addResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference)
addResourceEnvReferenceDescriptor in interface com.sun.enterprise.deployment.types.ResourceEnvReferenceContaineraddResourceEnvReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic void removeResourceEnvReferenceDescriptor(com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor resourceEnvReference)
removeResourceEnvReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic com.sun.enterprise.deployment.ResourceEnvReferenceDescriptor getResourceEnvReferenceByName(String name)
getResourceEnvReferenceByName in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetResourceEnvReferenceByName in interface com.sun.enterprise.deployment.types.ResourceEnvReferenceContainerpublic Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor> getResourceReferenceDescriptors()
getResourceReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentgetResourceReferenceDescriptors in interface com.sun.enterprise.deployment.types.ResourceReferenceContainerpublic void addResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference)
addResourceReferenceDescriptor in interface com.sun.enterprise.deployment.types.ResourceReferenceContaineraddResourceReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic void removeResourceReferenceDescriptor(com.sun.enterprise.deployment.ResourceReferenceDescriptor resourceReference)
removeResourceReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic com.sun.enterprise.deployment.EnvironmentProperty getEnvironmentPropertyByName(String name)
getEnvironmentPropertyByName in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic Set<com.sun.enterprise.deployment.EnvironmentProperty> getEnvironmentProperties()
getEnvironmentProperties in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic void addEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty)
addEnvironmentProperty in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic void removeEnvironmentProperty(com.sun.enterprise.deployment.EnvironmentProperty environmentProperty)
removeEnvironmentProperty in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic Set<com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor> getEntityManagerFactoryReferenceDescriptors()
getEntityManagerFactoryReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor getEntityManagerFactoryReferenceByName(String name)
getEntityManagerFactoryReferenceByName in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic void addEntityManagerFactoryReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerFactoryReferenceDescriptor reference)
addEntityManagerFactoryReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic Set<com.sun.enterprise.deployment.EntityManagerReferenceDescriptor> getEntityManagerReferenceDescriptors()
getEntityManagerReferenceDescriptors in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic com.sun.enterprise.deployment.EntityManagerReferenceDescriptor getEntityManagerReferenceByName(String name)
getEntityManagerReferenceByName in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic void addEntityManagerReferenceDescriptor(com.sun.enterprise.deployment.EntityManagerReferenceDescriptor reference)
addEntityManagerReferenceDescriptor in interface com.sun.enterprise.deployment.WritableJndiNameEnvironmentpublic List<com.sun.enterprise.deployment.InjectionCapable> getInjectableResourcesByClass(String className)
getInjectableResourcesByClass in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic com.sun.enterprise.deployment.InjectionInfo getInjectionInfoByClass(Class clazz)
getInjectionInfoByClass in interface com.sun.enterprise.deployment.JndiNameEnvironmentpublic boolean hasPostConstructMethod()
public boolean hasPreDestroyMethod()
public Set<com.sun.enterprise.deployment.ResourceReferenceDescriptor> getResourceReferenceDescriptors(boolean resolved)
public com.sun.enterprise.deployment.ResourceReferenceDescriptor getResourceReferenceByName(String name)
getResourceReferenceByName in interface com.sun.enterprise.deployment.types.ResourceReferenceContainerpublic boolean hasResolvedResourceReferences()
public com.sun.enterprise.deployment.types.EjbReference getEjbReference(String name)
getEjbReference in interface com.sun.enterprise.deployment.types.EjbReferenceContainerpublic Set<com.sun.enterprise.deployment.RoleReference> getRoleReferences()
public void addRoleReference(com.sun.enterprise.deployment.RoleReference roleReference)
addRoleReference in interface com.sun.enterprise.deployment.EjbDescriptorpublic void removeRoleReference(com.sun.enterprise.deployment.RoleReference roleReference)
public com.sun.enterprise.deployment.RoleReference getRoleReferenceByName(String roleReferenceName)
getRoleReferenceByName in interface com.sun.enterprise.deployment.EjbDescriptorpublic EjbBundleDescriptorImpl getEjbBundleDescriptor()
getEjbBundleDescriptor in interface com.sun.enterprise.deployment.EjbDescriptorpublic void setEjbBundleDescriptor(EjbBundleDescriptorImpl bundleDescriptor)
public void notifyNewModule(com.sun.enterprise.deployment.WebBundleDescriptor wbd)
notifyNewModule in interface com.sun.enterprise.deployment.EjbDescriptorpublic com.sun.enterprise.deployment.Application getApplication()
getApplication in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set getMethodDescriptors()
getMethodDescriptors in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set getTxBusinessMethodDescriptors()
public Set getSecurityBusinessMethodDescriptors()
getSecurityBusinessMethodDescriptors in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set getClientBusinessMethodDescriptors()
protected void addAllInterfaceMethodsIn(Collection methodDescriptors, Class c, String methodIntf)
public com.sun.enterprise.deployment.MethodDescriptor getBusinessMethodDescriptorFor(Method m, String methodIntf)
public Collection getTransactionMethodDescriptors()
protected Collection getTransactionMethods(ClassLoader classLoader)
public Set<Method> getOptionalLocalBusinessMethods()
public abstract String getContainerFactoryQualifier()
public Vector getMethods()
public Vector getMethods(ClassLoader classLoader)
public Vector getFields()
public Vector getFieldDescriptors()
public void removeEjbReferencer(com.sun.enterprise.deployment.EjbReferenceDescriptor ref)
removeEjbReferencer in interface com.sun.enterprise.deployment.EjbDescriptorpublic void addEjbReferencer(com.sun.enterprise.deployment.EjbReferenceDescriptor ref)
addEjbReferencer in interface com.sun.enterprise.deployment.EjbDescriptorpublic Set getAllEjbReferencers()
public void setUniqueId(long id)
setUniqueId in interface com.sun.enterprise.deployment.EjbDescriptorpublic long getUniqueId()
getUniqueId in interface com.sun.enterprise.deployment.EjbDescriptorpublic void print(StringBuffer toStringBuffer)
print in class org.glassfish.deployment.common.Descriptorpublic void visit(org.glassfish.deployment.common.DescriptorVisitor aVisitor)
visit in class org.glassfish.deployment.common.DescriptoraVisitor - a visitor to traverse the descriptorspublic void visit(EjbVisitor aVisitor)
aVisitor - a visitor to traverse the descriptorspublic boolean allMechanismsRequireSSL()
allMechanismsRequireSSL in interface com.sun.enterprise.deployment.EjbDescriptorCopyright © 2015. All rights reserved.