com.sun.enterprise.deployment
Class IASEjbCMPEntityDescriptor

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.EjbAbstractDescriptor
                  extended by com.sun.enterprise.deployment.EjbDescriptor
                      extended by com.sun.enterprise.deployment.EjbEntityDescriptor
                          extended by com.sun.enterprise.deployment.EjbCMPEntityDescriptor
                              extended by com.sun.enterprise.deployment.IASEjbCMPEntityDescriptor
All Implemented Interfaces:
JndiNameEnvironment, NamedDescriptor, EjbReferenceContainer, MessageDestinationReferenceContainer, ResourceEnvReferenceContainer, ResourceReferenceContainer, ServiceReferenceContainer, WritableJndiNameEnvironment, java.io.Serializable

public class IASEjbCMPEntityDescriptor
extends EjbCMPEntityDescriptor

This class contains information about EJB1.1 and EJB2.0 CMP EntityBeans.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.EjbCMPEntityDescriptor
CMP_1_1, CMP_2_x, UNDEFINED
 
Fields inherited from class com.sun.enterprise.deployment.EjbEntityDescriptor
BEAN_PERSISTENCE, CONTAINER_PERSISTENCE, FALSE, isReentrant, persistenceType, primaryKeyClassName, TRUE, TYPE
 
Fields inherited from class com.sun.enterprise.deployment.EjbDescriptor
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, DISTRIBUTED_TRANSACTION_SCOPE, isDistributedTxScope, LOCAL_TRANSACTION_SCOPE, runAsIdentity, securityIdentityDescription, transactionType, usesCallerIdentity, usesDefaultTransaction
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
IASEjbCMPEntityDescriptor()
           
IASEjbCMPEntityDescriptor(EjbDescriptor other)
          The copy constructor.Hopefully we wont need it;)
 
Method Summary
 void addOneOneFinder(IASEjbCMPFinder finder)
           
 boolean classesChanged()
          Called from EjbBundleDescriptor/EjbBundleArchivist when some classes in this bean are updated.
 java.util.Collection getAllMethods()
           
 java.util.Collection getAllPersistentFields()
           
 java.util.Collection getAllUniqueMethods()
           
 java.lang.String getBaseName(java.lang.String className)
           
 java.lang.ClassLoader getClassLoader()
           
 java.lang.String getConcreteImplClassName()
          Returns the classname of the State class impl.
 java.lang.String getEjbImplClassName()
          IASRI 4725194 Returns the Execution class, which is sam 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.
 java.util.Collection getFinders()
          Returns a collection of finder method instances.
 java.util.Collection getFinders(java.lang.Class homeIntf)
          Returns a collection of finder methods declared by the home interface given by a class object.
 IASEjbCMPFinder getIASEjbCMPFinder(java.lang.reflect.Method method)
           
 java.lang.String getMappingProperties()
          Returns the classname of the State class impl.
 java.lang.String getModuleDir()
          Returns the Module root of this module.
 java.util.Map getOneOneFinders()
          Returns a Map which maps between a method signature and the corresponding IASEjbCMPFinder instance.
 java.lang.String getPackageName(java.lang.String className)
           
 java.lang.String getPcImplClassName()
           
 java.util.Collection getPersistentFields()
           
 PrefetchDisabledDescriptor getPrefetchDisabledDescriptor()
          Getter for prefetch-disabled
 java.util.Collection getPrimaryKeyFields()
           
 QueryParser getQueryParser()
          Returns the query parser object
 java.util.Collection getSelectors()
          Returns a collection of selector methods.
 java.lang.String getUniqueName()
           
 java.lang.String getUniqueNumber(java.lang.String num)
           
 void setClassLoader(java.lang.ClassLoader jcl)
           
 void setConcreteImplClassName(java.lang.String name)
          Sets the State class implementation classname.
 void setMappingProperties(java.lang.String mappingProperties)
           
 void setModuleDir(java.lang.String moduleRootDir)
           
 void setPcImplClassName(java.lang.String name)
          Sets the State class implementation classname.
 void setPrefetchDisabledDescriptor(PrefetchDisabledDescriptor prefetchDisabledDescriptor)
          Setter for prefetch-disabled
 void setQueryParser(QueryParser inParser)
          This method sets the parser which would be used to parse the query parameter declaration given in sun-ejb-jar.xml.
 
Methods inherited from class com.sun.enterprise.deployment.EjbCMPEntityDescriptor
getAbstractSchemaName, getCMPVersion, getEjbImplementationImplClassName, getFieldDescriptors, getFields, getPersistenceDescriptor, getPossibleCmpCmrFields, getPossibleTransactionAttributes, getPrimaryKeyFieldDesc, getStateImplClassName, isEJB20, print, setAbstractSchemaName, setCMPVersion, setEjbBundleDescriptor, setEjbImplementationImplClassName, setPersistenceDescriptor, setPrimaryKeyFieldDesc, setStateImplClassName, visit
 
Methods inherited from class com.sun.enterprise.deployment.EjbEntityDescriptor
getPersistenceType, getPrimaryKeyClassName, getReentrant, getTransactionType, getType, isReentrant, replaceEntityDescriptor, setPersistenceType, setPrimaryKeyClassName, setReentrant, setReentrant, setTransactionType, setType
 
Methods inherited from class com.sun.enterprise.deployment.EjbDescriptor
addAllInterfaceMethodsIn, addAroundInvokeDescriptor, addAroundTimeoutDescriptor, addDataSourceDefinitionDescriptor, addEjbDescriptor, addEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addFrameworkInterceptor, addInterceptorClass, addIORConfigurationDescriptor, addJmsDestinationReferenceDescriptor, addMessageDestinationReferenceDescriptor, addMethodLevelChain, addPermissionedMethod, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceReferenceDescriptor, addRoleReference, addScheduledTimerDescriptor, addScheduledTimerDescriptorFromDD, addServiceReferenceDescriptor, allMechanismsRequireSSL, appendToInterceptorChain, applyDefaultClassToLifecycleMethods, applyInterceptors, getAllEjbReferencers, getApplication, getAroundInvokeDescriptorByClass, getAroundInvokeDescriptors, getAroundInvokeInterceptors, getAroundTimeoutDescriptorByClass, getAroundTimeoutDescriptors, getAroundTimeoutInterceptors, getBusinessMethodDescriptorFor, getCallbackInterceptors, getClientBusinessMethodDescriptors, getContainerTransaction, getContainerTransactionFor, getDataSourceDefinitionDescriptors, getEjbBundleDescriptor, getEjbClassName, getEJBLocalObjectImplClassName, getEJBObjectImplClassName, getEjbReference, getEjbReferenceDescriptors, getEjbTimeoutMethod, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getExcludedMethodDescriptors, getFrameworkInterceptors, getIASEjbExtraDescriptors, getInjectableResourcesByClass, getInjectionInfoByClass, getInterceptorChain, getInterceptorClasses, getInterceptorClassNames, getIORConfigurationDescriptors, getJmsDestinationReferenceByName, getJmsDestinationReferenceDescriptors, getLocalHomeImplClassName, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getMethodContainerTransactions, getMethodDescriptors, getMethodInterceptorsMap, getMethodPermissionsFor, getMethodPermissionsFromDD, getMethods, getMethods, getOptionalLocalBusinessMethods, getPermissionedMethodsByPermission, getPermissionedRoles, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getRemoteHomeImplClassName, getResourceReferenceByName, getResourceReferenceDescriptors, getResourceReferenceDescriptors, getRoleReferenceByName, getRoleReferences, getRunAsIdentity, getScheduledTimerDescriptors, getSecurityBusinessMethodDescriptors, getSecurityIdentityDescription, getServiceReferenceByName, getServiceReferenceDescriptors, getStyledPermissionedMethodsByPermission, getTransactionMethodDescriptors, getTransactionMethods, getTxBusinessMethodDescriptors, getUncheckedMethodDescriptors, getUniqueId, getUsesCallerIdentity, hasAroundInvokeMethod, hasAroundTimeoutMethod, hasInterceptorClass, hasPostConstructMethod, hasPreDestroyMethod, hasResolvedResourceReferences, hasScheduledTimerMethodFromDD, isDistributedTransactionScope, isTimedObject, isUsesDefaultTransaction, notifyNewModule, removeDataSourceDefinitionDescriptor, removeEjbReferenceDescriptor, removeEjbReferencer, removeEnvironmentProperty, removeJmsDestinationReferenceDescriptor, removeMessageDestinationReferenceDescriptor, removePermissionedMethod, removeResourceReferenceDescriptor, removeRoleReference, removeServiceReferenceDescriptor, setContainerTransactionFor, setDistributedTransactionScope, setEjbClassName, setEJBLocalObjectImplClassName, setEJBObjectImplClassName, setEjbTimeoutMethod, setLocalHomeImplClassName, setMethodContainerTransactions, setRemoteHomeImplClassName, setRunAsIdentity, setSecurityIdentityDescription, setUniqueId, setUsesCallerIdentity, setUsesDefaultTransaction, visit
 
Methods inherited from class com.sun.enterprise.deployment.EjbAbstractDescriptor
addLocalBusinessClassName, addNoInterfaceLocalBeanClass, addRemoteBusinessClassName, getHomeClassName, getJndiName, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getMappedName, getNoInterfaceLocalBeanClasses, getRemoteBusinessClassNames, getRemoteClassName, getWebServiceEndpointInterfaceName, hasWebServiceEndpointInterface, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, setHomeClassName, setJndiName, setLocalBean, setLocalClassName, setLocalHomeClassName, setMappedName, setRemoteClassName, setWebServiceEndpointInterfaceName
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri
 
Methods inherited from class com.sun.enterprise.deployment.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.NamedDescriptor
getName
 

Constructor Detail

IASEjbCMPEntityDescriptor

public IASEjbCMPEntityDescriptor()

IASEjbCMPEntityDescriptor

public IASEjbCMPEntityDescriptor(EjbDescriptor other)
The copy constructor.Hopefully we wont need it;)

Method Detail

getAllUniqueMethods

public java.util.Collection getAllUniqueMethods()

getAllMethods

public java.util.Collection getAllMethods()

getFinders

public java.util.Collection getFinders()
Returns a collection of finder method instances.


getFinders

public java.util.Collection getFinders(java.lang.Class homeIntf)
Returns a collection of finder methods declared by the home interface given by a class object.


setClassLoader

public void setClassLoader(java.lang.ClassLoader jcl)

getClassLoader

public java.lang.ClassLoader getClassLoader()

getAllPersistentFields

public java.util.Collection getAllPersistentFields()

getPersistentFields

public java.util.Collection getPersistentFields()

getPrimaryKeyFields

public java.util.Collection getPrimaryKeyFields()

getSelectors

public java.util.Collection getSelectors()
Returns a collection of selector methods.


getBaseName

public java.lang.String getBaseName(java.lang.String className)

setPcImplClassName

public void setPcImplClassName(java.lang.String name)
Sets the State class implementation classname.


getUniqueName

public java.lang.String getUniqueName()

getUniqueNumber

public java.lang.String getUniqueNumber(java.lang.String num)

getPcImplClassName

public java.lang.String getPcImplClassName()

setConcreteImplClassName

public void setConcreteImplClassName(java.lang.String name)
Sets the State class implementation classname.


getPackageName

public java.lang.String getPackageName(java.lang.String className)

getEjbImplClassName

public java.lang.String getEjbImplClassName()
IASRI 4725194 Returns the Execution class, which is sam 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.

Overrides:
getEjbImplClassName in class EjbDescriptor

getConcreteImplClassName

public java.lang.String getConcreteImplClassName()
Returns the classname of the State class impl.


setModuleDir

public void setModuleDir(java.lang.String moduleRootDir)

getModuleDir

public java.lang.String getModuleDir()
Returns the Module root of this module.


setMappingProperties

public void setMappingProperties(java.lang.String mappingProperties)

getMappingProperties

public java.lang.String getMappingProperties()
Returns the classname of the State class impl.


classesChanged

public boolean classesChanged()
Called from EjbBundleDescriptor/EjbBundleArchivist when some classes in this bean are updated.


setQueryParser

public void setQueryParser(QueryParser inParser)
This method sets the parser which would be used to parse the query parameter declaration given in sun-ejb-jar.xml. This method is called from JDOCodenerator class 's generate() method.


getQueryParser

public QueryParser getQueryParser()
Returns the query parser object


getPrefetchDisabledDescriptor

public PrefetchDisabledDescriptor getPrefetchDisabledDescriptor()
Getter for prefetch-disabled

Returns:
Value of prefetchDisabledDescriptor

setPrefetchDisabledDescriptor

public void setPrefetchDisabledDescriptor(PrefetchDisabledDescriptor prefetchDisabledDescriptor)
Setter for prefetch-disabled

Parameters:
prefetchDisabledDescriptor - New value of prefetchDisabledDescriptor.

addOneOneFinder

public void addOneOneFinder(IASEjbCMPFinder finder)

getOneOneFinders

public java.util.Map getOneOneFinders()
Returns a Map which maps between a method signature and the corresponding IASEjbCMPFinder instance. The key is the method signature as a string and consists of methodName(type1, type2.....).


getIASEjbCMPFinder

public IASEjbCMPFinder getIASEjbCMPFinder(java.lang.reflect.Method method)


Copyright © 2012 GlassFish Community. All Rights Reserved.