org.jboss.metadata
Class EntityMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.BeanMetaData
          extended by org.jboss.metadata.EntityMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

public class EntityMetaData
extends BeanMetaData

The meta data information specific to entity beans.

Version:
$Revision: 57209 $

Revisions:

2001/10/16: billb

  1. Added clustering tags
Author:
Sebastien Alborini, Scott Stark, Dain Sundstrom, Bill Burke, Christian Riege

Field Summary
static int CMP_VERSION_1
           
static int CMP_VERSION_2
           
static String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
           
static String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
           
 
Fields inherited from class org.jboss.metadata.BeanMetaData
beanType, callByValue, clustered, configurationName, containerManagedTx, ENTITY_TYPE, invokerBindings, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, portComponent, serviceEndpointClass, SESSION_TYPE
 
Fields inherited from class org.jboss.metadata.MetaData
TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
EntityMetaData(ApplicationMetaData app)
           
 
Method Summary
protected  void defaultInvokerBindings()
           
 boolean doDistributedCacheInvalidations()
           
 String getAbstractSchemaName()
           
 Iterator getCMPFields()
          Gets the container managed fields.
 String getDefaultConfigurationName()
           
 CacheInvalidationConfigMetaData getDistributedCacheInvalidationConfig()
           
 String getPrimaryKeyClass()
           
 String getPrimKeyField()
           
 Iterator getQueries()
           
 void importEjbJarXml(Element element)
          Called to parse the ejb-jar.xml enterprise-beans child ejb elements
 void importJbossXml(Element element)
          Called to parse the jboss.xml enterprise-beans child ejb elements
 boolean isBMP()
           
 boolean isCMP()
           
 boolean isCMP1x()
           
 boolean isCMP2x()
           
 boolean isReadOnly()
           
 boolean isReentrant()
           
 
Methods inherited from class org.jboss.metadata.BeanMetaData
addExcludedMethod, addPermissionMethod, addTransactionMethod, getApplicationMetaData, getClusterConfigMetaData, getConfigurationName, getContainerConfiguration, getContainerObjectNameJndiName, getDepends, getEjbClass, getEjbLocalRefByName, getEjbLocalReferences, getEjbName, getEjbRefByName, getEjbReferences, getEjbTimeoutIdentity, getEnvironmentEntries, getExceptionRollback, getExcludedMethods, getHome, getInvokerBinding, getInvokerBindings, getIorSecurityConfigMetaData, getJndiName, getLocal, getLocalHome, getLocalJndiName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getPermissionMethods, getPortComponent, getRemote, getResourceEnvReferences, getResourceReferences, getSecurityIdentityMetaData, getSecurityProxy, getSecurityRoleReferences, getServiceEndpoint, getServiceReferences, getTimerPersistence, getTransactionMethod, getTransactionMethods, getTransactionTimeout, getTransactionTimeout, hasMethodPermission, isBeanManagedTx, isCallByValue, isClustered, isContainerManagedTx, isEntity, isExcludeMissingMethods, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isSession
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMP_VERSION_1

public static final int CMP_VERSION_1
See Also:
Constant Field Values

CMP_VERSION_2

public static final int CMP_VERSION_2
See Also:
Constant Field Values

DEFAULT_ENTITY_INVOKER_PROXY_BINDING

public static final String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
See Also:
Constant Field Values

DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING

public static final String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
See Also:
Constant Field Values
Constructor Detail

EntityMetaData

public EntityMetaData(ApplicationMetaData app)
Method Detail

isCMP

public boolean isCMP()

isCMP1x

public boolean isCMP1x()

isCMP2x

public boolean isCMP2x()

isBMP

public boolean isBMP()

getPrimaryKeyClass

public String getPrimaryKeyClass()

isReentrant

public boolean isReentrant()

getAbstractSchemaName

public String getAbstractSchemaName()

isReadOnly

public boolean isReadOnly()

getCMPFields

public Iterator getCMPFields()
Gets the container managed fields.


getPrimKeyField

public String getPrimKeyField()

getQueries

public Iterator getQueries()

getDefaultConfigurationName

public String getDefaultConfigurationName()
Specified by:
getDefaultConfigurationName in class BeanMetaData

doDistributedCacheInvalidations

public boolean doDistributedCacheInvalidations()

getDistributedCacheInvalidationConfig

public CacheInvalidationConfigMetaData getDistributedCacheInvalidationConfig()

importEjbJarXml

public void importEjbJarXml(Element element)
                     throws org.jboss.deployment.DeploymentException
Description copied from class: BeanMetaData
Called to parse the ejb-jar.xml enterprise-beans child ejb elements

Overrides:
importEjbJarXml in class BeanMetaData
Parameters:
element - one of session/entity/message-driven
Throws:
org.jboss.deployment.DeploymentException

defaultInvokerBindings

protected void defaultInvokerBindings()
Specified by:
defaultInvokerBindings in class BeanMetaData

importJbossXml

public void importJbossXml(Element element)
                    throws org.jboss.deployment.DeploymentException
Description copied from class: BeanMetaData
Called to parse the jboss.xml enterprise-beans child ejb elements

Overrides:
importJbossXml in class BeanMetaData
Parameters:
element - one of session/entity/message-driven
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.