org.jboss.metadata.ejb.spec
Interface EnterpriseBeanMetaData
- All Superinterfaces:
- Environment, IdMetaData, RemoteEnvironment, Serializable
- All Known Subinterfaces:
- EntityBeanMetaData, MessageDrivenBean31MetaData, MessageDrivenBeanMetaData, SessionBean31MetaData, SessionBeanMetaData
- All Known Implementing Classes:
- AbstractEnterpriseBeanMetaData, AbstractGenericBeanMetaData, GenericBeanMetaData, JBossGenericBeanMetaData
public interface EnterpriseBeanMetaData
- extends Environment, IdMetaData
- Author:
- Carlo de Wolf
getDescriptionGroup
DescriptionGroupMetaData getDescriptionGroup()
getEjbJarVersion
EjbJarVersion getEjbJarVersion()
- A shortcut for getEjbJarMetaData().getEjbJarVersion()
- Returns:
- the version of the EJB or null if not yet attached to an EjbJar
getEnterpriseBeansMetaData
EnterpriseBeansMetaData getEnterpriseBeansMetaData()
getEjbJarMetaData
EjbJarMetaData getEjbJarMetaData()
- Get the ejbJarMetaData.
- Returns:
- the ejbJarMetaData.
getName
String getName()
getAssemblyDescriptor
AssemblyDescriptorMetaData getAssemblyDescriptor()
- Get the assembly descriptor
- Returns:
- the ejbJarMetaData.
getEjbName
String getEjbName()
- Get the ejbName.
- Returns:
- the ejbName.
isSession
boolean isSession()
- Whether this is a session bean
- Returns:
- true when a session bean
isMessageDriven
boolean isMessageDriven()
- Whether this is a message driven bean
- Returns:
- true when a message driven bean
isEntity
boolean isEntity()
- Whether this is an entity bean
- Returns:
- true when an entity bean
getTransactionType
javax.ejb.TransactionManagementType getTransactionType()
- Get the transactionType.
- Returns:
- the transactionType.
isCMT
boolean isCMT()
- Is this container managed transactions
- Returns:
- true when CMT
isBMT
boolean isBMT()
- Is this bean managed transactions
- Returns:
- true when BMT
getMappedName
String getMappedName()
- Get the mappedName.
- Returns:
- the mappedName.
getEjbClass
String getEjbClass()
- Get the ejbClass.
- Returns:
- the ejbClass.
getJndiEnvironmentRefsGroup
Environment getJndiEnvironmentRefsGroup()
- Get the jndiEnvironmentRefsGroup.
- Returns:
- the jndiEnvironmentRefsGroup.
getSecurityIdentity
SecurityIdentityMetaData getSecurityIdentity()
- Get the securityIdentity.
- Returns:
- the securityIdentity.
getSecurityRoleRefs
SecurityRoleRefsMetaData getSecurityRoleRefs()
- Get the securityRoleRefs.
- Returns:
- the securityRoleRefs.
getEjbLocalReferenceByName
EJBLocalReferenceMetaData getEjbLocalReferenceByName(String name)
- Specified by:
getEjbLocalReferenceByName in interface Environment
getEjbLocalReferences
EJBLocalReferencesMetaData getEjbLocalReferences()
- Specified by:
getEjbLocalReferences in interface Environment
getEjbReferenceByName
EJBReferenceMetaData getEjbReferenceByName(String name)
- Specified by:
getEjbReferenceByName in interface RemoteEnvironment
getEjbReferences
EJBReferencesMetaData getEjbReferences()
- Specified by:
getEjbReferences in interface RemoteEnvironment
getAnnotatedEjbReferences
AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
- Specified by:
getAnnotatedEjbReferences in interface RemoteEnvironment
getEnvironmentEntries
EnvironmentEntriesMetaData getEnvironmentEntries()
- Specified by:
getEnvironmentEntries in interface RemoteEnvironment
getEnvironmentEntryByName
EnvironmentEntryMetaData getEnvironmentEntryByName(String name)
- Specified by:
getEnvironmentEntryByName in interface RemoteEnvironment
getMessageDestinationReferenceByName
MessageDestinationReferenceMetaData getMessageDestinationReferenceByName(String name)
- Specified by:
getMessageDestinationReferenceByName in interface RemoteEnvironment
getMessageDestinationReferences
MessageDestinationReferencesMetaData getMessageDestinationReferences()
- Specified by:
getMessageDestinationReferences in interface RemoteEnvironment
getPersistenceContextReferenceByName
PersistenceContextReferenceMetaData getPersistenceContextReferenceByName(String name)
- Specified by:
getPersistenceContextReferenceByName in interface Environment
getPersistenceContextRefs
PersistenceContextReferencesMetaData getPersistenceContextRefs()
- Specified by:
getPersistenceContextRefs in interface Environment
getPersistenceUnitReferenceByName
PersistenceUnitReferenceMetaData getPersistenceUnitReferenceByName(String name)
- Specified by:
getPersistenceUnitReferenceByName in interface RemoteEnvironment
getPersistenceUnitRefs
PersistenceUnitReferencesMetaData getPersistenceUnitRefs()
- Specified by:
getPersistenceUnitRefs in interface RemoteEnvironment
getPostConstructs
LifecycleCallbacksMetaData getPostConstructs()
- Specified by:
getPostConstructs in interface RemoteEnvironment
getPreDestroys
LifecycleCallbacksMetaData getPreDestroys()
- Specified by:
getPreDestroys in interface RemoteEnvironment
getResourceEnvironmentReferenceByName
ResourceEnvironmentReferenceMetaData getResourceEnvironmentReferenceByName(String name)
- Specified by:
getResourceEnvironmentReferenceByName in interface RemoteEnvironment
getResourceEnvironmentReferences
ResourceEnvironmentReferencesMetaData getResourceEnvironmentReferences()
- Specified by:
getResourceEnvironmentReferences in interface RemoteEnvironment
getResourceReferenceByName
ResourceReferenceMetaData getResourceReferenceByName(String name)
- Specified by:
getResourceReferenceByName in interface RemoteEnvironment
getResourceReferences
ResourceReferencesMetaData getResourceReferences()
- Specified by:
getResourceReferences in interface RemoteEnvironment
getServiceReferenceByName
ServiceReferenceMetaData getServiceReferenceByName(String name)
- Specified by:
getServiceReferenceByName in interface RemoteEnvironment
getServiceReferences
ServiceReferencesMetaData getServiceReferences()
- Specified by:
getServiceReferences in interface RemoteEnvironment
getMethodPermissions
MethodPermissionsMetaData getMethodPermissions()
- Get the methods permissions
- Returns:
- the method permissions or null for no result
getContainerTransactions
ContainerTransactionsMetaData getContainerTransactions()
- Get the container transactions
- Returns:
- the container transactions or null for no result
getMethodTransactionType
javax.ejb.TransactionAttributeType getMethodTransactionType(String methodName,
Class<?>[] params,
MethodInterfaceType iface)
- Get the method transaction type
- Parameters:
methodName - the method nameparams - the parametersiface - the interface type
- Returns:
- the method transaction type
getMethodTransactionType
javax.ejb.TransactionAttributeType getMethodTransactionType(Method m,
MethodInterfaceType iface)
- Get the transaction type
- Parameters:
m - the methodiface - the interface type
- Returns:
- the transaction type
getExcludeList
ExcludeListMetaData getExcludeList()
- Get the exclude list
- Returns:
- the exclude list or null for no result
getDataSources
DataSourcesMetaData getDataSources()
- Specified by:
getDataSources in interface RemoteEnvironment
- See Also:
RemoteEnvironment.getDataSources()
getDataSourceByName
DataSourceMetaData getDataSourceByName(String name)
- Specified by:
getDataSourceByName in interface RemoteEnvironment
- See Also:
RemoteEnvironment.getDataSourceByName(java.lang.String)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.