|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.metadata.MetaData org.jboss.metadata.BeanMetaData
A common meta data class for the entity, message-driven and session beans.
Field Summary | |
protected char |
beanType
The type of bean: ENTITY_TYPE, SESSION_TYPE, MDB_TYPE |
protected boolean |
callByValue
Should the bean use by value call semeantics |
protected boolean |
clustered
Is the bean marked as clustered |
protected String |
configurationName
The container configuration name |
protected boolean |
containerManagedTx
Is this bean's transactions managed by the container? |
static char |
ENTITY_TYPE
|
protected HashMap |
invokerBindings
The invoker names to JNDI name mapping |
static String |
LOCAL_INVOKER_PROXY_BINDING
|
static char |
MDB_TYPE
|
protected EjbPortComponentMetaData |
portComponent
The jboss port-component binding for a ejb webservice |
protected String |
serviceEndpointClass
The service-endpoint element contains the fully-qualified name of the bean锟絪 service endpoint interface (SEI) |
static char |
SESSION_TYPE
|
Fields inherited from class org.jboss.metadata.MetaData |
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
BeanMetaData(ApplicationMetaData app,
char beanType)
|
Methods inherited from class org.jboss.metadata.MetaData |
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, 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 |
public static final char SESSION_TYPE
public static final char ENTITY_TYPE
public static final char MDB_TYPE
public static final String LOCAL_INVOKER_PROXY_BINDING
protected String serviceEndpointClass
protected char beanType
protected boolean containerManagedTx
protected HashMap invokerBindings
protected String configurationName
protected boolean clustered
protected boolean callByValue
protected EjbPortComponentMetaData portComponent
Constructor Detail |
public BeanMetaData(ApplicationMetaData app, char beanType)
Method Detail |
public boolean isSession()
public boolean isMessageDriven()
public boolean isEntity()
public String getHome()
public String getRemote()
public String getLocalHome()
public String getLocal()
public String getServiceEndpoint()
public EjbPortComponentMetaData getPortComponent()
public String getEjbClass()
public String getEjbName()
public boolean isContainerManagedTx()
public boolean isBeanManagedTx()
public Iterator getEjbReferences()
public Iterator getEjbLocalReferences()
protected abstract void defaultInvokerBindings()
public Iterator getInvokerBindings()
public String getInvokerBinding(String invokerName)
public EjbRefMetaData getEjbRefByName(String name)
public EjbLocalRefMetaData getEjbLocalRefByName(String name)
public Iterator getEnvironmentEntries()
public Iterator getSecurityRoleReferences()
public Iterator getResourceReferences()
public Iterator getResourceEnvReferences()
public Iterator getMessageDestinationReferences()
public HashMap getServiceReferences()
public String getJndiName()
public String getLocalJndiName()
public String getContainerObjectNameJndiName()
public String getConfigurationName()
public ConfigurationMetaData getContainerConfiguration()
public String getSecurityProxy()
public SecurityIdentityMetaData getSecurityIdentityMetaData()
public ApplicationMetaData getApplicationMetaData()
public abstract String getDefaultConfigurationName()
public Iterator getTransactionMethods()
public Iterator getPermissionMethods()
public Iterator getExcludedMethods()
public void addTransactionMethod(MethodMetaData method)
public void addPermissionMethod(MethodMetaData method)
public void addExcludedMethod(MethodMetaData method)
public byte getMethodTransactionType(String methodName, Class[] params, InvocationType iface)
public byte getTransactionMethod(Method m, InvocationType iface)
public Collection getDepends()
public boolean isMethodReadOnly(String methodName)
public boolean isMethodReadOnly(Method method)
public int getTransactionTimeout(String methodName)
public int getTransactionTimeout(Method method)
public Set getMethodPermissions(String methodName, Class[] params, InvocationType iface)
public boolean hasMethodPermission(String methodName, Class[] params, InvocationType iface)
methodName
- - the method nameparams
- - the method parameter signatureiface
- - the method interface type
public boolean isClustered()
public boolean isCallByValue()
public boolean isExcludeMissingMethods()
public ClusterConfigMetaData getClusterConfigMetaData()
public IorSecurityConfigMetaData getIorSecurityConfigMetaData()
public void importEjbJarXml(Element element) throws org.jboss.deployment.DeploymentException
importEjbJarXml
in class MetaData
element
- one of session/entity/message-driven
org.jboss.deployment.DeploymentException
public void importJbossXml(Element element) throws org.jboss.deployment.DeploymentException
importJbossXml
in class MetaData
element
- one of session/entity/message-driven
org.jboss.deployment.DeploymentException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |