|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData (src)
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 java.lang.String |
configurationName
The container configuration name |
protected boolean |
containerManagedTx
Is this bean's transactions managed by the container? |
static char |
ENTITY_TYPE
|
protected java.util.HashMap |
invokerBindings
The invoker names to JNDI name mapping |
static java.lang.String |
LOCAL_INVOKER_PROXY_BINDING
|
static char |
MDB_TYPE
|
protected EjbPortComponentMetaData (src) |
portComponent
The jboss port-component binding for a ejb webservice |
protected java.lang.String |
serviceEndpointClass
The service-endpoint element contains the fully-qualified name of the bean�s service endpoint interface (SEI) |
static char |
SESSION_TYPE
|
Fields inherited from class org.jboss.metadata.MetaData (src) |
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
BeanMetaData(ApplicationMetaData (src) app,
char beanType)
|
Method Summary | |
void |
addExcludedMethod(MethodMetaData (src) method)
|
void |
addPermissionMethod(MethodMetaData (src) method)
|
void |
addTransactionMethod(MethodMetaData (src) method)
|
protected abstract void |
defaultInvokerBindings()
|
ApplicationMetaData (src) |
getApplicationMetaData()
|
ClusterConfigMetaData (src) |
getClusterConfigMetaData()
|
java.lang.String |
getConfigurationName()
|
ConfigurationMetaData (src) |
getContainerConfiguration()
|
java.lang.String |
getContainerObjectNameJndiName()
Gets the container jndi name used in the object name |
abstract java.lang.String |
getDefaultConfigurationName()
|
java.util.Collection |
getDepends()
|
java.lang.String |
getEjbClass()
|
EjbLocalRefMetaData (src) |
getEjbLocalRefByName(java.lang.String name)
|
java.util.Iterator |
getEjbLocalReferences()
|
java.lang.String |
getEjbName()
|
EjbRefMetaData (src) |
getEjbRefByName(java.lang.String name)
|
java.util.Iterator |
getEjbReferences()
|
java.util.Iterator |
getEnvironmentEntries()
|
boolean |
getExceptionRollback()
|
java.util.Iterator |
getExcludedMethods()
|
java.lang.String |
getHome()
|
java.lang.String |
getInvokerBinding(java.lang.String invokerName)
|
java.util.Iterator |
getInvokerBindings()
|
IorSecurityConfigMetaData (src) |
getIorSecurityConfigMetaData()
|
java.lang.String |
getJndiName()
|
java.lang.String |
getLocal()
|
java.lang.String |
getLocalHome()
|
java.lang.String |
getLocalJndiName()
Gets the JNDI name under with the local home interface should be bound. |
java.util.Iterator |
getMessageDestinationReferences()
|
java.util.Set |
getMethodPermissions(java.lang.String methodName,
java.lang.Class[] params,
InvocationType (src) iface)
A somewhat tedious method that builds a Set |
byte |
getMethodTransactionType(java.lang.String methodName,
java.lang.Class[] params,
InvocationType (src) iface)
|
java.util.Iterator |
getPermissionMethods()
|
EjbPortComponentMetaData (src) |
getPortComponent()
|
java.lang.String |
getRemote()
|
java.util.Iterator |
getResourceEnvReferences()
|
java.util.Iterator |
getResourceReferences()
|
SecurityIdentityMetaData (src) |
getSecurityIdentityMetaData()
|
java.lang.String |
getSecurityProxy()
|
java.util.Iterator |
getSecurityRoleReferences()
|
java.lang.String |
getServiceEndpoint()
|
java.util.HashMap |
getServiceReferences()
|
byte |
getTransactionMethod(java.lang.reflect.Method m,
InvocationType (src) iface)
|
java.util.Iterator |
getTransactionMethods()
|
int |
getTransactionTimeout(java.lang.reflect.Method method)
|
int |
getTransactionTimeout(java.lang.String methodName)
Get the transaction timeout for the method |
boolean |
hasMethodPermission(java.lang.String methodName,
java.lang.Class[] params,
InvocationType (src) iface)
Check to see if there was a method-permission or exclude-list statement for the given method. |
void |
importEjbJarXml(org.w3c.dom.Element element)
Called to parse the ejb-jar.xml enterprise-beans child ejb elements |
void |
importJbossXml(org.w3c.dom.Element element)
Called to parse the jboss.xml enterprise-beans child ejb elements |
boolean |
isBeanManagedTx()
|
boolean |
isCallByValue()
|
boolean |
isClustered()
|
boolean |
isContainerManagedTx()
|
boolean |
isEntity()
|
boolean |
isExcludeMissingMethods()
|
boolean |
isMessageDriven()
|
boolean |
isMethodReadOnly(java.lang.reflect.Method method)
|
boolean |
isMethodReadOnly(java.lang.String methodName)
Is this method a read-only method described in jboss.xml? |
boolean |
isSession()
|
Methods inherited from class org.jboss.metadata.MetaData (src) |
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 java.lang.String LOCAL_INVOKER_PROXY_BINDING
protected java.lang.String serviceEndpointClass
protected char beanType
protected boolean containerManagedTx
protected java.util.HashMap invokerBindings
protected java.lang.String configurationName
protected boolean clustered
protected boolean callByValue
protected EjbPortComponentMetaData (src) portComponent
Constructor Detail |
public BeanMetaData(ApplicationMetaData (src) app, char beanType)
Method Detail |
public boolean isSession()
public boolean isMessageDriven()
public boolean isEntity()
public java.lang.String getHome()
public java.lang.String getRemote()
public java.lang.String getLocalHome()
public java.lang.String getLocal()
public java.lang.String getServiceEndpoint()
public EjbPortComponentMetaData (src) getPortComponent()
public java.lang.String getEjbClass()
public java.lang.String getEjbName()
public boolean isContainerManagedTx()
public boolean isBeanManagedTx()
public java.util.Iterator getEjbReferences()
public java.util.Iterator getEjbLocalReferences()
protected abstract void defaultInvokerBindings()
public java.util.Iterator getInvokerBindings()
public java.lang.String getInvokerBinding(java.lang.String invokerName)
public EjbRefMetaData (src) getEjbRefByName(java.lang.String name)
public EjbLocalRefMetaData (src) getEjbLocalRefByName(java.lang.String name)
public java.util.Iterator getEnvironmentEntries()
public java.util.Iterator getSecurityRoleReferences()
public java.util.Iterator getResourceReferences()
public java.util.Iterator getResourceEnvReferences()
public java.util.Iterator getMessageDestinationReferences()
public java.util.HashMap getServiceReferences()
public java.lang.String getJndiName()
public java.lang.String getLocalJndiName()
public java.lang.String getContainerObjectNameJndiName()
public java.lang.String getConfigurationName()
public ConfigurationMetaData (src) getContainerConfiguration()
public java.lang.String getSecurityProxy()
public SecurityIdentityMetaData (src) getSecurityIdentityMetaData()
public ApplicationMetaData (src) getApplicationMetaData()
public abstract java.lang.String getDefaultConfigurationName()
public java.util.Iterator getTransactionMethods()
public java.util.Iterator getPermissionMethods()
public java.util.Iterator getExcludedMethods()
public void addTransactionMethod(MethodMetaData (src) method)
public void addPermissionMethod(MethodMetaData (src) method)
public void addExcludedMethod(MethodMetaData (src) method)
public byte getMethodTransactionType(java.lang.String methodName, java.lang.Class[] params, InvocationType (src) iface)
public byte getTransactionMethod(java.lang.reflect.Method m, InvocationType (src) iface)
public java.util.Collection getDepends()
public boolean isMethodReadOnly(java.lang.String methodName)
public boolean isMethodReadOnly(java.lang.reflect.Method method)
public int getTransactionTimeout(java.lang.String methodName)
public int getTransactionTimeout(java.lang.reflect.Method method)
public java.util.Set getMethodPermissions(java.lang.String methodName, java.lang.Class[] params, InvocationType (src) iface)
public boolean hasMethodPermission(java.lang.String methodName, java.lang.Class[] params, InvocationType (src) iface)
methodName
- - the method nameparams
- - the method parameter signatureiface
- - the method interface type
public boolean isClustered()
public boolean isCallByValue()
public boolean isExcludeMissingMethods()
public ClusterConfigMetaData (src) getClusterConfigMetaData()
public IorSecurityConfigMetaData (src) getIorSecurityConfigMetaData()
public boolean getExceptionRollback()
public void importEjbJarXml(org.w3c.dom.Element element) throws DeploymentException (src)
importEjbJarXml
in class MetaData (src)
element
- one of session/entity/message-driven
DeploymentException (src)
public void importJbossXml(org.w3c.dom.Element element) throws DeploymentException (src)
importJbossXml
in class MetaData (src)
element
- one of session/entity/message-driven
DeploymentException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |