org.objectweb.jonas_ejb.deployment.api
Class EntityCmp1Desc
java.lang.Object
org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc
org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc
org.objectweb.jonas_ejb.deployment.api.BeanDesc
org.objectweb.jonas_ejb.deployment.api.EntityDesc
org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc
- All Implemented Interfaces:
- DescriptionGroup, JndiEnvRefsGroup
- Direct Known Subclasses:
- EntityJdbcCmp1Desc
public class EntityCmp1Desc
- extends EntityCmpDesc
Class to hold meta-information related to an entity of type CMP version 1.x.
Created on Jun 24, 2002
- Author:
- Christophe Ney [cney@batisseurs.com] : Initial developer, Helene Joanin
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
cleanup, CLEANUP_CREATE, CLEANUP_NONE, CLEANUP_REMOVEALL, CLEANUP_REMOVEDATA, deadlockTimeout, hardLimit, inactivityTimeout, jdbcAutomaticPk, LOCK_CONTAINER_READ_COMMITTED, LOCK_CONTAINER_READ_UNCOMMITTED, LOCK_CONTAINER_READ_WRITE, LOCK_CONTAINER_SERIALIZED, LOCK_CONTAINER_SERIALIZED_TRANSACTED, LOCK_DATABASE, LOCK_READ_ONLY, lockPolicy, maxWaitTime, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, pkObjectType, prefetch, primaryKeyClass, readTimeout, reentrant, shared |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, beanIdentification, bf, cacheMax, clusterHomeDistributor, clusterRemoteDistributor, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, logger, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Method Summary |
FieldDesc |
getCmpFieldDesc(java.lang.reflect.Field field)
Get descriptor for a given field |
java.lang.reflect.Method |
getIsModifiedMethod()
Get the 'isModified' method name implemented in the bean class. |
boolean |
hasCmpFieldDesc(java.lang.reflect.Field field)
Assessor for a CMP field |
boolean |
hasIsModifiedMethod()
Assessor for existence of a isModified method |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
checkTxAttribute, getCleanupPolicy, getDeadlockTimeout, getInactivityTimeout, getLockPolicy, getMaxWaitTime, getPassivationTimeout, getPrimaryKeyClass, getReadTimeout, isAutomaticPk, isHardLimit, isPrefetch, isReentrant, isShared, isUndefinedPK |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
addEJBMethodDesc, addMethodDesc, check, checkRemoteException, checkRunAsMapping, checkValidTypesForRmi, getBeanFactory, getCacheMax, getClusterHomeDistributor, getClusterRemoteDistributor, getDeploymentDesc, getDerivedBeanName, getEjb10Environment, getEjbClass, getEjbName, getEjbTimeoutSignature, getFullDerivedBeanName, getFullWrpHandleName, getFullWrpHomeName, getFullWrpLocalHomeName, getFullWrpLocalName, getFullWrpRemoteName, getHashCodeForIdentifier, getHomeClass, getIdentifier, getJndiLocalName, getJndiName, getLocalClass, getLocalHomeClass, getMethodDesc, getMethodDesc, getMethodDescIterator, getParentClass, getPoolMin, getRemoteClass, getRunAsPrincipalName, getRunAsRole, getSasComponent, getSecurityRoleRefDescList, getTimerTxAttribute, getWrpHandleName, getWrpHomeName, getWrpLocalHomeName, getWrpLocalName, getWrpRemoteName, hasDefinedLocalInterface, isClusterReplicated, loadExtraClasses, newMethodDescInstance, setBeanFactory, setClusterReplicated, setDeploymentDesc, setSasComponent, verifyRoleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
isModifiedMethod
protected java.lang.reflect.Method isModifiedMethod
EntityCmp1Desc
public EntityCmp1Desc(java.lang.ClassLoader classLoader,
Entity ent,
AssemblyDescriptor asd,
JonasEntity jEnt,
JLinkedList jMDRList,
java.lang.String fileName)
throws DeploymentDescException
- constructor to be used by parent node
- Throws:
DeploymentDescException
getCmpFieldDesc
public FieldDesc getCmpFieldDesc(java.lang.reflect.Field field)
- Get descriptor for a given field
- Parameters:
field
- of the bean class
- Returns:
- Descriptor for the given field
getIsModifiedMethod
public java.lang.reflect.Method getIsModifiedMethod()
- Get the 'isModified' method name implemented in the bean class.
(This information is JOnAS specific).
- Returns:
- Name of the isModified method
hasIsModifiedMethod
public boolean hasIsModifiedMethod()
- Assessor for existence of a isModified method
- Returns:
- true of isModified method exist for the bean
hasCmpFieldDesc
public boolean hasCmpFieldDesc(java.lang.reflect.Field field)
- Assessor for a CMP field
- Parameters:
field
- for which a descriptor is to be returned
- Returns:
- Descriptor for the given field
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Specified by:
toString
in interface DescriptionGroup
- Overrides:
toString
in class EntityCmpDesc
- Returns:
- String representation of this object