Class IASEjbCMPEntityDescriptor

java.lang.Object
java.util.Observable
org.glassfish.deployment.common.DynamicAttributesDescriptor
org.glassfish.deployment.common.Descriptor
com.sun.enterprise.deployment.CommonResourceDescriptor
com.sun.enterprise.deployment.EjbBeanDescriptor
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:
  • Constructor Details

    • IASEjbCMPEntityDescriptor

      public IASEjbCMPEntityDescriptor()
    • IASEjbCMPEntityDescriptor

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

    • getAllUniqueMethods

      public Collection<Method> getAllUniqueMethods()
    • getAllMethods

      public Collection<Method> getAllMethods()
    • getFinders

      public Collection<Method> getFinders()
      Returns:
      collection of finder method instances.
    • getFinders

      public Collection<Method> 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<PersistentFieldInfo> getAllPersistentFields()
    • getPersistentFields

      public Collection<PersistentFieldInfo> getPersistentFields()
    • getPrimaryKeyFields

      public Collection<PersistentFieldInfo> getPrimaryKeyFields()
    • getSelectors

      public Collection<Method> getSelectors()
      Returns a collection of selector methods.
    • getBaseName

      public String getBaseName(String className)
    • setPcImplClassName

      public void setPcImplClassName(String name)
      Sets the State class implementation classname.
    • getUniqueName

      public String getUniqueName()
    • getUniqueNumber

      public String getUniqueNumber(String num)
    • getPcImplClassName

      public String getPcImplClassName()
    • setConcreteImplClassName

      public void setConcreteImplClassName(String name)
      Sets the State class implementation classname.
    • getPackageName

      public String getPackageName(String 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.
    • 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.
    • 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)
      Adds the given OneOneFinder to the HashMap
    • getOneOneFinders

      public Map<String,IASEjbCMPFinder> 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)
      Parameters:
      method - object for which the Finder Object needs to be found
      Returns:
      The finder object for the particular Method object.