Class IASEjbCMPEntityDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.CommonResourceDescriptor
-
- org.glassfish.ejb.deployment.descriptor.EjbDescriptor
-
- org.glassfish.ejb.deployment.descriptor.EjbEntityDescriptor
-
- org.glassfish.ejb.deployment.descriptor.EjbCMPEntityDescriptor
-
- org.glassfish.ejb.deployment.descriptor.IASEjbCMPEntityDescriptor
-
- All Implemented Interfaces:
com.sun.enterprise.deployment.EjbDescriptor,com.sun.enterprise.deployment.JndiNameEnvironment,com.sun.enterprise.deployment.NamedDescriptor,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 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 org.glassfish.ejb.deployment.descriptor.EjbCMPEntityDescriptor
CMP_1_1, CMP_2_x, UNDEFINED
-
Fields inherited from class org.glassfish.ejb.deployment.descriptor.EjbEntityDescriptor
BEAN_PERSISTENCE, CONTAINER_PERSISTENCE, FALSE, isReentrant, persistenceType, primaryKeyClassName, TRUE, TYPE
-
Fields inherited from class org.glassfish.ejb.deployment.descriptor.EjbDescriptor
DISTRIBUTED_TRANSACTION_SCOPE, isDistributedTxScope, LOCAL_TRANSACTION_SCOPE, runAsIdentity, securityIdentityDescription, transactionType, usesCallerIdentity, usesDefaultTransaction
-
-
Constructor Summary
Constructors Constructor Description IASEjbCMPEntityDescriptor()IASEjbCMPEntityDescriptor(EjbDescriptor other)The copy constructor.Hopefully we wont need it;)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOneOneFinder(IASEjbCMPFinder finder)booleanclassesChanged()Called from EjbBundleDescriptor/EjbBundleArchivist when some classes in this bean are updated.CollectiongetAllMethods()CollectiongetAllPersistentFields()CollectiongetAllUniqueMethods()StringgetBaseName(String className)ClassLoadergetClassLoader()StringgetConcreteImplClassName()Returns the classname of the State class impl.StringgetEjbImplClassName()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.CollectiongetFinders()Returns a collection of finder method instances.CollectiongetFinders(Class homeIntf)Returns a collection of finder methods declared by the home interface given by a class object.IASEjbCMPFindergetIASEjbCMPFinder(Method method)StringgetMappingProperties()Returns the classname of the State class impl.StringgetModuleDir()Returns the Module root of this module.MapgetOneOneFinders()Returns a Map which maps between a method signature and the corresponding IASEjbCMPFinder instance.StringgetPackageName(String className)StringgetPcImplClassName()CollectiongetPersistentFields()PrefetchDisabledDescriptorgetPrefetchDisabledDescriptor()Getter for prefetch-disabledCollectiongetPrimaryKeyFields()QueryParsergetQueryParser()Returns the query parser objectCollectiongetSelectors()Returns a collection of selector methods.StringgetUniqueName()StringgetUniqueNumber(String num)voidsetClassLoader(ClassLoader jcl)voidsetConcreteImplClassName(String name)Sets the State class implementation classname.voidsetMappingProperties(String mappingProperties)voidsetModuleDir(String moduleRootDir)voidsetPcImplClassName(String name)Sets the State class implementation classname.voidsetPrefetchDisabledDescriptor(PrefetchDisabledDescriptor prefetchDisabledDescriptor)Setter for prefetch-disabledvoidsetQueryParser(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 org.glassfish.ejb.deployment.descriptor.EjbCMPEntityDescriptor
getAbstractSchemaName, getCMPVersion, getEjbImplementationImplClassName, getFieldDescriptors, getFields, getPersistenceDescriptor, getPossibleCmpCmrFields, getPossibleTransactionAttributes, getPrimaryKeyFieldDesc, getStateImplClassName, isEJB20, print, setAbstractSchemaName, setCMPVersion, setEjbBundleDescriptor, setEjbImplementationImplClassName, setPersistenceDescriptor, setPrimaryKeyFieldDesc, setStateImplClassName
-
Methods inherited from class org.glassfish.ejb.deployment.descriptor.EjbEntityDescriptor
getContainerFactoryQualifier, getEjbTypeForDisplay, getPersistenceType, getPrimaryKeyClassName, getReentrant, getTransactionType, getType, isReentrant, setPersistenceType, setPrimaryKeyClassName, setReentrant, setReentrant, setTransactionType, setType
-
Methods inherited from class org.glassfish.ejb.deployment.descriptor.EjbDescriptor
addAllInterfaceMethodsIn, addAroundInvokeDescriptor, addAroundTimeoutDescriptor, addEjbDescriptor, addEjbReferenceDescriptor, addEjbReferencer, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addFrameworkInterceptor, addInterceptorClass, addIORConfigurationDescriptor, addLocalBusinessClassName, addMessageDestinationReferenceDescriptor, addMethodLevelChain, addNoInterfaceLocalBeanClass, addPermissionedMethod, addPostConstructDescriptor, addPreDestroyDescriptor, addRemoteBusinessClassName, addResourceDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addRoleReference, addScheduledTimerDescriptor, addScheduledTimerDescriptorFromDD, addServiceReferenceDescriptor, allMechanismsRequireSSL, appendToInterceptorChain, applyDefaultClassToLifecycleMethods, applyInterceptors, getAllEjbReferencers, getAllResourcesDescriptors, getAllResourcesDescriptors, getApplication, getAroundInvokeDescriptorByClass, getAroundInvokeDescriptors, getAroundInvokeInterceptors, getAroundTimeoutDescriptorByClass, getAroundTimeoutDescriptors, getAroundTimeoutInterceptors, getBusinessMethodDescriptorFor, getCallbackInterceptors, getClientBusinessMethodDescriptors, getContainerTransaction, getContainerTransactionFor, getEjbBundleDescriptor, getEjbClassName, getEJBLocalObjectImplClassName, getEJBObjectImplClassName, getEjbReference, getEjbReferenceDescriptors, getEjbTimeoutMethod, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getExcludedMethodDescriptors, getFrameworkInterceptors, getHomeClassName, getIASEjbExtraDescriptors, getInjectableResourcesByClass, getInjectionInfoByClass, getInterceptorChain, getInterceptorClasses, getInterceptorClassNames, getIORConfigurationDescriptors, getJndiName, getLifecycleCallbackDescriptors, getLocalBusinessClassNames, getLocalClassName, getLocalHomeClassName, getLocalHomeImplClassName, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getMethodContainerTransactions, getMethodDescriptors, getMethodInterceptorsMap, getMethodPermissionsFor, getMethodPermissionsFromDD, getMethods, getMethods, getNoInterfaceLocalBeanClasses, getOptionalLocalBusinessMethods, getPermissionedMethodsByPermission, getPermissionedRoles, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getRemoteBusinessClassNames, getRemoteClassName, getRemoteHomeImplClassName, getResourceDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceByName, getResourceReferenceDescriptors, getResourceReferenceDescriptors, getRoleReferenceByName, getRoleReferences, getRunAsIdentity, getScheduledTimerDescriptors, getSecurityBusinessMethodDescriptors, getSecurityIdentityDescription, getServiceReferenceByName, getServiceReferenceDescriptors, getStyledPermissionedMethodsByPermission, getTransactionMethodDescriptors, getTransactionMethods, getTxBusinessMethodDescriptors, getUncheckedMethodDescriptors, getUniqueId, getUsesCallerIdentity, getWebServiceEndpointInterfaceName, hasAroundInvokeMethod, hasAroundTimeoutMethod, hasInterceptorClass, hasPostConstructMethod, hasPreDestroyMethod, hasResolvedResourceReferences, hasScheduledTimerMethodFromDD, hasWebServiceEndpointInterface, isDistributedTransactionScope, isLocalBean, isLocalBusinessInterfacesSupported, isLocalInterfacesSupported, isRemoteBusinessInterfacesSupported, isRemoteInterfacesSupported, isTimedObject, isUsesDefaultTransaction, notifyNewModule, removeEjbReferenceDescriptor, removeEjbReferencer, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removePermissionedMethod, removeResourceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeRoleReference, removeServiceReferenceDescriptor, setContainerTransactionFor, setDistributedTransactionScope, setEjbClassName, setEJBLocalObjectImplClassName, setEJBObjectImplClassName, setEjbTimeoutMethod, setHomeClassName, setJndiName, setLocalBean, setLocalClassName, setLocalHomeClassName, setLocalHomeImplClassName, setMappedName, setMethodContainerTransactions, setRemoteClassName, setRemoteHomeImplClassName, setRunAsIdentity, setSecurityIdentityDescription, setUniqueId, setUsesCallerIdentity, setUsesDefaultTransaction, setWebServiceEndpointInterfaceName, visit, visit
-
Methods inherited from class com.sun.enterprise.deployment.CommonResourceDescriptor
getResourceDescriptor
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Constructor Detail
-
IASEjbCMPEntityDescriptor
public IASEjbCMPEntityDescriptor()
-
IASEjbCMPEntityDescriptor
public IASEjbCMPEntityDescriptor(EjbDescriptor other)
The copy constructor.Hopefully we wont need it;)
-
-
Method Detail
-
getAllUniqueMethods
public Collection getAllUniqueMethods()
-
getAllMethods
public Collection getAllMethods()
-
getFinders
public Collection getFinders()
Returns a collection of finder method instances.
-
getFinders
public Collection getFinders(Class homeIntf)
Returns a collection of finder methods declared by the home interface given by a class object.
-
setClassLoader
public void setClassLoader(ClassLoader jcl)
-
getClassLoader
public ClassLoader getClassLoader()
-
getAllPersistentFields
public Collection getAllPersistentFields()
-
getPersistentFields
public Collection getPersistentFields()
-
getPrimaryKeyFields
public Collection getPrimaryKeyFields()
-
getSelectors
public Collection getSelectors()
Returns a collection of selector methods.
-
setPcImplClassName
public void setPcImplClassName(String name)
Sets the State class implementation classname.
-
getUniqueName
public String getUniqueName()
-
getPcImplClassName
public String getPcImplClassName()
-
setConcreteImplClassName
public void setConcreteImplClassName(String name)
Sets the State class implementation classname.
-
getEjbImplClassName
public 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.- Specified by:
getEjbImplClassNamein interfacecom.sun.enterprise.deployment.EjbDescriptor- Overrides:
getEjbImplClassNamein classEjbDescriptor
-
getConcreteImplClassName
public String getConcreteImplClassName()
Returns the classname of the State class impl.
-
setModuleDir
public void setModuleDir(String moduleRootDir)
-
getModuleDir
public String getModuleDir()
Returns the Module root of this module.
-
setMappingProperties
public void setMappingProperties(String mappingProperties)
-
getMappingProperties
public 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 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(Method method)
-
-