|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<JBossEnterpriseBeanMetaData>
org.jboss.metadata.BeanMetaData
@Deprecated public abstract class BeanMetaData
A common meta data class for the entity, message-driven and session beans.
Field Summary | |
---|---|
static char |
ENTITY_TYPE
Deprecated. Entity type |
static String |
LOCAL_INVOKER_PROXY_BINDING
Deprecated. The local invoker proxy binding name |
static char |
MDB_TYPE
Deprecated. MDB type |
static char |
SESSION_TYPE
Deprecated. 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 | |
---|---|
protected |
BeanMetaData(ApplicationMetaData app,
JBossEnterpriseBeanMetaData delegate)
Deprecated. Create a new BeanMetaData. |
protected |
BeanMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. Create a new BeanMetaData. |
Method Summary | |
---|---|
void |
addExcludedMethod(MethodMetaData method)
Deprecated. Add an excluded method |
void |
addPermissionMethod(MethodMetaData method)
Deprecated. Add a permission method |
void |
addTransactionMethod(MethodMetaData method)
Deprecated. Add a transaction method |
static BeanMetaData |
create(ApplicationMetaData app,
JBossEnterpriseBeanMetaData delegate)
Deprecated. Create a new BeanMetaData. |
ApplicationMetaData |
getApplicationMetaData()
Deprecated. Get the application metadata |
abstract ClusterConfigMetaData |
getClusterConfigMetaData()
Deprecated. Get the cluster config |
String |
getConfigurationName()
Deprecated. Get the configuration name |
ConfigurationMetaData |
getContainerConfiguration()
Deprecated. Get the container configuration |
String |
getContainerObjectNameJndiName()
Deprecated. Gets the container jndi name used in the object name |
String |
getDefaultConfigurationName()
Deprecated. Get the default configuration name |
Collection<String> |
getDepends()
Deprecated. Get all the dependencies |
String |
getEjbClass()
Deprecated. Get the ejbClass. |
EjbLocalRefMetaData |
getEjbLocalRefByName(String name)
Deprecated. Get an ejb local reference by name |
Iterator<EjbLocalRefMetaData> |
getEjbLocalReferences()
Deprecated. Get the ejb local references |
String |
getEjbName()
Deprecated. Get the ejb name |
EjbRefMetaData |
getEjbRefByName(String name)
Deprecated. Get an ejb reference by name |
Iterator<EjbRefMetaData> |
getEjbReferences()
Deprecated. Get the ejb references |
abstract SecurityIdentityMetaData |
getEjbTimeoutIdentity()
Deprecated. Get the ejb timeout identity |
Iterator<EnvEntryMetaData> |
getEnvironmentEntries()
Deprecated. Get the environment entries |
boolean |
getExceptionRollback()
Deprecated. Get the exceptionRollback. |
Iterator<MethodMetaData> |
getExcludedMethods()
Deprecated. Get the excluded methods |
abstract String |
getHome()
Deprecated. Get the home class name |
String |
getInvokerBinding(String invokerName)
Deprecated. Get an invoker binding |
Iterator<String> |
getInvokerBindings()
Deprecated. Get the invoker bindings |
IorSecurityConfigMetaData |
getIorSecurityConfigMetaData()
Deprecated. Get the IOR Security config metadata |
abstract String |
getJndiName()
Deprecated. Get the jndi name |
abstract String |
getLocal()
Deprecated. Get the local class name |
abstract String |
getLocalHome()
Deprecated. Get the local home class name |
String |
getLocalJndiName()
Deprecated. Gets the JNDI name under with the local home interface should be bound. |
Iterator<MessageDestinationRefMetaData> |
getMessageDestinationReferences()
Deprecated. Get the message destination references |
Set<String> |
getMethodPermissions(String methodName,
Class[] params,
InvocationType iface)
Deprecated. A somewhat tedious method that builds a Set |
byte |
getMethodTransactionType(String methodName,
Class[] params,
InvocationType iface)
Deprecated. Get the method transaction type |
Iterator<MethodMetaData> |
getPermissionMethods()
Deprecated. Get the permission methods |
EjbPortComponentMetaData |
getPortComponent()
Deprecated. |
abstract String |
getRemote()
Deprecated. Get the remote class name |
Iterator<ResourceEnvRefMetaData> |
getResourceEnvReferences()
Deprecated. Get the resource environment references |
Iterator<ResourceRefMetaData> |
getResourceReferences()
Deprecated. Get the resource references |
SecurityIdentityMetaData |
getSecurityIdentityMetaData()
Deprecated. Get the security identity |
String |
getSecurityProxy()
Deprecated. Get the security proxy |
abstract Iterator<SecurityRoleRefMetaData> |
getSecurityRoleReferences()
Deprecated. Get the security role references |
abstract String |
getServiceEndpoint()
Deprecated. Get the service endpoint |
Iterator<ServiceReferenceMetaData> |
getServiceReferences()
Deprecated. Get the service references |
boolean |
getTimerPersistence()
Deprecated. Get the timerPersistence. |
byte |
getTransactionMethod(Method m,
InvocationType iface)
Deprecated. Get the transaction type |
Iterator<MethodMetaData> |
getTransactionMethods()
Deprecated. Get the transaction methods |
int |
getTransactionTimeout(Method method)
Deprecated. Get the transaction timeout for the method |
int |
getTransactionTimeout(String methodName)
Deprecated. Get the transaction timeout for the method |
boolean |
hasMethodPermission(String methodName,
Class[] params,
InvocationType iface)
Deprecated. Check to see if there was a method-permission or exclude-list statement for the given method. |
boolean |
isBeanManagedTx()
Deprecated. Is bean managed transaction |
abstract boolean |
isCallByValue()
Deprecated. Get the callByValue. |
abstract boolean |
isClustered()
Deprecated. Get whether it is clustered. |
boolean |
isContainerManagedTx()
Deprecated. Get the container managed transactions |
boolean |
isEntity()
Deprecated. Whether this is an entity bean |
boolean |
isExcludeMissingMethods()
Deprecated. Get the excludeMissingMethods. |
boolean |
isMessageDriven()
Deprecated. Whether this is a message driven bean |
boolean |
isMethodReadOnly(Method method)
Deprecated. Is this method a read-only method described in jboss.xml? |
boolean |
isMethodReadOnly(String methodName)
Deprecated. Is this method a read-only method described in jboss.xml? |
boolean |
isSession()
Deprecated. Whether this is a session bean |
Methods inherited from class org.jboss.metadata.OldMetaData |
---|
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, 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
Constructor Detail |
---|
protected BeanMetaData(ApplicationMetaData app, JBossEnterpriseBeanMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegateprotected BeanMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData
- the delegate metadata
IllegalArgumentException
- for a null metaData
IllegalStateException
- if the metadata doesn't have an JBossEnterpriseBeanMetaData
Method Detail |
---|
public static BeanMetaData create(ApplicationMetaData app, JBossEnterpriseBeanMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegate or an unknown delegatepublic boolean isSession()
public boolean isMessageDriven()
public boolean isEntity()
public String getEjbName()
public abstract String getHome()
public abstract String getRemote()
public abstract String getLocalHome()
public abstract String getLocal()
public abstract String getServiceEndpoint()
public String getEjbClass()
public boolean isContainerManagedTx()
public boolean isBeanManagedTx()
public Iterator<EjbRefMetaData> getEjbReferences()
public Iterator<EjbLocalRefMetaData> getEjbLocalReferences()
public EjbRefMetaData getEjbRefByName(String name)
name
- the name
IllegalArgumentException
- for a null namepublic EjbLocalRefMetaData getEjbLocalRefByName(String name)
name
- the name
IllegalArgumentException
- for a null namepublic Iterator<EnvEntryMetaData> getEnvironmentEntries()
public abstract Iterator<SecurityRoleRefMetaData> getSecurityRoleReferences()
public Iterator<ResourceRefMetaData> getResourceReferences()
public Iterator<ResourceEnvRefMetaData> getResourceEnvReferences()
public Iterator<MessageDestinationRefMetaData> getMessageDestinationReferences()
public Iterator<ServiceReferenceMetaData> getServiceReferences()
public SecurityIdentityMetaData getSecurityIdentityMetaData()
public Iterator<MethodMetaData> getTransactionMethods()
public byte getMethodTransactionType(String methodName, Class[] params, InvocationType iface)
methodName
- the method nameparams
- the parametersiface
- the interface type
public byte getTransactionMethod(Method m, InvocationType iface)
m
- the methodiface
- the interface type
public Iterator<MethodMetaData> getPermissionMethods()
public EjbPortComponentMetaData getPortComponent()
public Iterator<MethodMetaData> getExcludedMethods()
public Set<String> getMethodPermissions(String methodName, Class[] params, InvocationType iface)
methodName
- the method nameparams
- the parametersiface
- the interface
public boolean hasMethodPermission(String methodName, Class[] params, InvocationType iface)
methodName
- - the method nameparams
- - the method parameter signatureiface
- - the method interface type
public boolean isExcludeMissingMethods()
public ApplicationMetaData getApplicationMetaData()
public Iterator<String> getInvokerBindings()
public String getInvokerBinding(String invokerName)
invokerName
- the invoker proxy binding name
public abstract String getJndiName()
public String getLocalJndiName()
public String getContainerObjectNameJndiName()
public String getConfigurationName()
public ConfigurationMetaData getContainerConfiguration()
IllegalStateException
- when the configuration could not be determinedpublic String getSecurityProxy()
public abstract SecurityIdentityMetaData getEjbTimeoutIdentity()
public String getDefaultConfigurationName()
public Collection<String> getDepends()
public boolean isMethodReadOnly(String methodName)
methodName
- the method name
public boolean isMethodReadOnly(Method method)
method
- the method
public int getTransactionTimeout(String methodName)
methodName
- the method name
public int getTransactionTimeout(Method method)
method
- the method
public abstract boolean isClustered()
public abstract boolean isCallByValue()
public abstract ClusterConfigMetaData getClusterConfigMetaData()
public IorSecurityConfigMetaData getIorSecurityConfigMetaData()
public boolean getExceptionRollback()
public boolean getTimerPersistence()
public void addPermissionMethod(MethodMetaData method)
method
- the method
UnsupportedOperationException
- alwayspublic void addExcludedMethod(MethodMetaData method)
method
- the method
UnsupportedOperationException
- alwayspublic void addTransactionMethod(MethodMetaData method)
method
- the method
UnsupportedOperationException
- always
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |