org.jboss.metadata.ejb.jboss.jndipolicy.plugins
Class JbossEntityPolicyDecorator

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
              extended by org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData
                  extended by org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData
                      extended by org.jboss.metadata.ejb.jboss.jndipolicy.plugins.JbossEntityPolicyDecorator
All Implemented Interfaces:
Serializable, Cloneable, IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>, ResolveableJndiNameJbossEnterpriseBeanMetadata, Environment, RemoteEnvironment, IdMetaData, MappableMetaData

public class JbossEntityPolicyDecorator
extends JBossEntityBeanMetaData
implements ResolveableJndiNameJbossEnterpriseBeanMetadata

JbossEntityPolicyDecorator Decorate a JBossEntityBeanMetaData with the ability to resolve JNDI Names based on a specified JNDI Binding Policy, so any getter of a JNDI name will never return null.

Version:
$Revision: $
Author:
ALR
See Also:
Serialized Form

Constructor Summary
JbossEntityPolicyDecorator(JBossEntityBeanMetaData delegate, DefaultJndiBindingPolicy jndiPolicy)
           
 
Method Summary
 void checkValid()
           
protected  KnownInterfaces.KnownInterfaceType classifyInterface(String iface)
           
 IdMetaDataImpl clone()
           
 DefaultJndiBindingPolicy createPolicy(ClassLoader loader, Class<? extends DefaultJndiBindingPolicy> defaultPolicyClass)
          Create the DefaultJndiBindingPolicy from the bean metadata.
 Set<String> determineAllDepends()
          Get the depends.
 CacheInvalidationConfigMetaData determineCacheInvalidationConfig()
          Get the cacheInvalidationConfig.
 ClusterConfigMetaData determineClusterConfig()
          Determine the clusterConfig.
 String determineConfigurationName()
          Determine the configuration name
 ContainerConfigurationMetaData determineContainerConfiguration()
          Get the container configuration
 String determineContainerName()
          Get the kernel name for the ejb container.
 InvokerBindingMetaData determineInvokerBinding(String invokerName)
          Determine an invoker binding
 InvokerBindingsMetaData determineInvokerBindings()
          Determine the invokers
 String determineJndiName()
          Determine the jndi name
 String determineResolvedJndiName(String iface)
          Returns the resolved JNDI Name for the specified interface of this metadata.
 boolean equals(Object obj)
           
 String getAbstractSchemaName()
          Get the abstractSchemaName.
 AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
          Get the ejbReferences.
 AnnotationsMetaData getAnnotations()
          Get the annotations.
 String getAopDomainName()
          Get the aopDomainName.
 CacheInvalidationConfigMetaData getCacheInvalidationConfig()
          Get the cacheInvalidationConfig.
 ClusterConfigMetaData getClusterConfig()
          Get the clusterConfig.
 CMPFieldsMetaData getCmpFields()
          Get the cmpFields.
 String getCmpVersion()
          Get the cmpVersion.
 String getConfigurationName()
          Get the configurationName.
 String getContainerName()
          Get the kernel name for the ejb container.
 String getContainerObjectNameJndiName()
          Determine the container jndi name used in the object name.
 ContainerTransactionsMetaData getContainerTransactions()
          Get the container transactions
 String getDefaultConfigurationName()
          Get the default configuration name
 String getDefaultInvokerName()
          Get the default invokers
 Set<String> getDepends()
          Get the depends.
 DescriptionGroupMetaData getDescriptionGroup()
          Get the descriptionGroup.
 String getEjbClass()
           
protected  EjbDeploymentSummary getEjbDeploymentSummary()
           
 JBossMetaData getEjbJarMetaData()
           
 EJBLocalReferenceMetaData getEjbLocalReferenceByName(String name)
          Get by name
 EJBLocalReferencesMetaData getEjbLocalReferences()
          Get the ejbLocalReferences.
 String getEjbName()
          Get the ejbName.
 EJBReferenceMetaData getEjbReferenceByName(String name)
          Get by name
 EJBReferencesMetaData getEjbReferences()
          Get the ejbReferences.
 JBossEnterpriseBeansMetaData getEnterpriseBeansMetaData()
          Get the enterpriseBeansMetaData.
 EnvironmentEntriesMetaData getEnvironmentEntries()
          Get the environmentEntries.
 EnvironmentEntryMetaData getEnvironmentEntryByName(String name)
          Get by name
 ExcludeListMetaData getExcludeList()
          Get the exclude list
 String getGeneratedContainerName()
          Get the generated kernel name for the ejb container.
 String getHome()
          Get the home.
 String getId()
          Get the id.
 IgnoreDependencyMetaData getIgnoreDependency()
          Get the ignoreDependency.
 InvokerBindingsMetaData getInvokerBindings()
          Get the invokers.
 IORSecurityConfigMetaData getIorSecurityConfig()
          Get the iorSecurityConfig.
 JBossMetaData getJBossMetaData()
          Get the jbossMetaData.
 JBossMetaData getJBossMetaDataWithCheck()
          Get the jbossMetaData.
 String getJndiBindingPolicy()
           
 Environment getJndiEnvironmentRefsGroup()
          Get the jndiEnvironmentRefsGroup.
 String getJndiName()
          Get the jndiName.
 JndiRefsMetaData getJndiRefs()
          Get the jndiRefs.
 String getKey()
          The key
 String getLocal()
          Get the local.
 String getLocalHome()
          Get the localHome.
 String getLocalJndiName()
          Get the localJndiName.
 String getMappedName()
           
 MessageDestinationReferenceMetaData getMessageDestinationReferenceByName(String name)
          Get by name
 MessageDestinationReferencesMetaData getMessageDestinationReferences()
          Get the messageDestinationReferences.
 MethodAttributesMetaData getMethodAttributes()
          Get the methodAttributes.
 MethodPermissionsMetaData getMethodPermissions()
          Get the methods permissions
 Set<String> getMethodPermissions(String methodName, Class<?>[] params, MethodInterfaceType interfaceType)
          A somewhat tedious method that builds a Set of the roles that have been assigned permission to execute the indicated method.
 int getMethodTransactionTimeout(Method method)
          Get the transaction timeout for the method
 int getMethodTransactionTimeout(String methodName)
          Get the transaction timeout for the method
 javax.ejb.TransactionAttributeType getMethodTransactionType(Method m, MethodInterfaceType iface)
          Get the transaction type
 javax.ejb.TransactionAttributeType getMethodTransactionType(String methodName, Class<?>[] params, MethodInterfaceType iface)
          Get the method transaction type
 String getName()
          Get the name.
 PersistenceContextReferenceMetaData getPersistenceContextReferenceByName(String name)
          Get by name
 PersistenceContextReferencesMetaData getPersistenceContextRefs()
          Get the persistenceContextRefs.
 PersistenceType getPersistenceType()
          Get the persistenceType.
 PersistenceUnitReferenceMetaData getPersistenceUnitReferenceByName(String name)
          Get by name
 PersistenceUnitReferencesMetaData getPersistenceUnitRefs()
          Get the persistenceUnitRefs.
 PoolConfigMetaData getPoolConfig()
           
 LifecycleCallbacksMetaData getPostConstructs()
          Get the postConstructs.
 LifecycleCallbacksMetaData getPreDestroys()
          Get the preDestroys.
 String getPrimKeyClass()
          Get the primKeyClass.
 String getPrimKeyField()
          Get the primKeyField.
 QueriesMetaData getQueries()
          Get the queries.
 String getRemote()
          Get the remote.
 ResourceEnvironmentReferenceMetaData getResourceEnvironmentReferenceByName(String name)
          Get by name
 ResourceEnvironmentReferencesMetaData getResourceEnvironmentReferences()
          Get the resourceEnvironmentReferences.
 ResourceReferenceMetaData getResourceReferenceByName(String name)
          Get by name
 ResourceReferencesMetaData getResourceReferences()
          Get the resourceReferences.
 String getSecurityDomain()
          Get the securityDomain.
 SecurityIdentityMetaData getSecurityIdentity()
          Get the securityIdentity.
 String getSecurityProxy()
          Get the securityProxy.
 SecurityRoleMetaData getSecurityRole(String roleName)
          Get a security role
 Set<String> getSecurityRolePrincipals(String roleName)
          Get a security role's principals
 SecurityRoleRefsMetaData getSecurityRoleRefs()
          Get the securityRoleRefs.
 Map<String,Set<String>> getSecurityRolesPrincipalVersusRolesMap()
          Get the Principal versus roles map stored in the security roles
 ServiceReferenceMetaData getServiceReferenceByName(String name)
          Get by name
 ServiceReferencesMetaData getServiceReferences()
          Get the service references
 javax.ejb.TransactionManagementType getTransactionType()
           
 int hashCode()
           
 boolean hasMethodPermissions(String methodName, Class<?>[] params, MethodInterfaceType interfaceType)
          Check to see if there was a method-permission or exclude-list statement for the given method.
 boolean isBMP()
          Is this bean managed persistence
 boolean isBMT()
          Is this bean managed transactions
 boolean isCacheInvalidation()
          Get the cacheInvalidation.
 boolean isCallByValue()
          Get the callByValue.
 boolean isClustered()
          Get the clustered.
 boolean isCMP()
          Is this container managed persistence
 boolean isCMP1x()
          Whether it is CMP1x
 boolean isCMT()
          Is this container managed transactions
 boolean isConsumer()
          Whether this is a consumer bean
 boolean isEntity()
          Whether this is an entity bean
 boolean isExceptionOnRollback()
          Get the exceptionOnRollback.
 boolean isGeneric()
           
 boolean isMessageDriven()
          Whether this is a message driven bean
 boolean isMethodReadOnly(Method method)
          Is this method a read-only method
 boolean isMethodReadOnly(String methodName)
          Is this method a read-only method
 boolean isReadOnly()
          Get the readOnly.
 boolean isReentrant()
          Get the reentrant.
 boolean isService()
          Whether this is a service bean
 boolean isSession()
          Whether this is a session bean
 boolean isTimerPersistence()
          Get the timerPersistence.
 void merge(IdMetaData override, IdMetaData original)
           
 void merge(IdMetaDataImpl override, IdMetaDataImpl original)
          Merge the contents of override with original into this.
 void merge(JBossEnterpriseBeanMetaData override, EnterpriseBeanMetaData original)
           
 void merge(JBossEnterpriseBeanMetaData override, EnterpriseBeanMetaData original, String overridenFile, String overrideFile, boolean mustOverride)
           
 void merge(JBossEnterpriseBeanMetaData overrideEjb, JBossEnterpriseBeanMetaData originalEjb)
           
 void merge(NamedMetaData override, NamedMetaData original)
          Merge override + original into this
 JBossEnterpriseBeanMetaData newBean()
           
 void setAbstractSchemaName(String abstractSchemaName)
          Set the abstractSchemaName.
 void setAnnotations(AnnotationsMetaData annotations)
          Set the annotations.
 void setAopDomainName(String aopDomainName)
          Set the aopDomainName.
 void setCacheInvalidation(boolean cacheInvalidation)
          Set the cacheInvalidation.
 void setCacheInvalidationConfig(CacheInvalidationConfigMetaData cacheInvalidationConfig)
          Set the cacheInvalidationConfig.
 void setCallByValue(boolean callByValue)
          Set the callByValue.
 void setClusterConfig(ClusterConfigMetaData clusterConfig)
          Set the clusterConfig.
 void setClustered(boolean clustered)
          Set the clustered.
 void setCmpFields(CMPFieldsMetaData cmpFields)
          Set the cmpFields.
 void setCmpVersion(String cmpVersion)
          Set the cmpVersion.
 void setConfigurationName(String configurationName)
          Set the configurationName.
 void setContainerName(String containerName)
           
 void setDepends(Set<String> depends)
          Set the depends.
 void setDescriptionGroup(DescriptionGroupMetaData descriptionGroup)
          Set the descriptionGroup.
 void setEjbClass(String ejbClass)
           
 void setEjbName(String ejbName)
          Set the ejbName.
 void setEnterpriseBeansMetaData(JBossEnterpriseBeansMetaData enterpriseBeansMetaData)
          Set the enterpriseBeansMetaData.
 void setExceptionOnRollback(boolean exceptionOnRollback)
          Set the exceptionOnRollback.
 void setGeneratedContainerName(String containerName)
           
 void setHome(String home)
          Set the home.
 void setId(String id)
          Set the id.
 void setIgnoreDependency(IgnoreDependencyMetaData ignoreDependency)
          Set the ignoreDependency.
 void setInvokerBindings(InvokerBindingsMetaData invokers)
          Set the invokers.
 void setIorSecurityConfig(IORSecurityConfigMetaData iorSecurityConfig)
          Set the iorSecurityConfig.
 void setJndiBindingPolicy(String jndiBindingPolicy)
           
 void setJndiEnvironmentRefsGroup(Environment env)
           
 void setJndiName(String jndiName)
          Set the jndiName.
 void setJndiRefs(JndiRefsMetaData jndiRefs)
          Set the jndiRefs.
 void setLocal(String local)
          Set the local.
 void setLocalHome(String localHome)
          Set the localHome.
 void setLocalJndiName(String localJndiName)
          Set the localJndiName.
 void setMappedName(String mappedName)
           
 void setMethodAttributes(MethodAttributesMetaData methodAttributes)
          Set the methodAttributes.
 void setName(String name)
          Set the name.
 void setPersistenceType(PersistenceType persistenceType)
          Set the persistenceType.
 void setPoolConfig(PoolConfigMetaData poolConfig)
           
 void setPrimKeyClass(String primKeyClass)
          Set the primKeyClass.
 void setPrimKeyField(String primKeyField)
          Set the primKeyField.
 void setQueries(QueriesMetaData queries)
          Set the queries.
 void setReadOnly(boolean readOnly)
          Set the readOnly.
 void setReentrant(boolean reentrant)
          Set the reentrant.
 void setRemote(String remote)
          Set the remote.
 void setSecurityDomain(String securityDomain)
          Set the securityDomain.
 void setSecurityIdentity(SecurityIdentityMetaData securityIdentity)
          Set the securityIdentity.
 void setSecurityProxy(String securityProxy)
          Set the securityProxy.
 void setSecurityRoleRefs(SecurityRoleRefsMetaData securityRoleRefs)
          Set the securityRoleRefs.
 void setTimerPersistence(boolean timerPersistence)
          Set the timerPersistence.
 void setTransactionType(javax.ejb.TransactionManagementType transactionType)
           
 String toString()
           
 
Methods inherited from class org.jboss.metadata.ejb.jboss.JBossEntityBeanMetaData
determineLocalJndiName, getDefaultInvokerJndiName, merge
 
Methods inherited from class org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData
determineResolvedJndiName, getAssemblyDescriptor, getDefaultInvokers, newBean, setEnvironmentRefsGroup
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JbossEntityPolicyDecorator

public JbossEntityPolicyDecorator(JBossEntityBeanMetaData delegate,
                                  DefaultJndiBindingPolicy jndiPolicy)
Method Detail

determineResolvedJndiName

public String determineResolvedJndiName(String iface)
Returns the resolved JNDI Name for the specified interface of this metadata.

Specified by:
determineResolvedJndiName in interface ResolveableJndiNameJbossEnterpriseBeanMetadata
Overrides:
determineResolvedJndiName in class JBossEnterpriseBeanMetaData
Parameters:
iface -
Returns:

getEjbDeploymentSummary

protected EjbDeploymentSummary getEjbDeploymentSummary()

classifyInterface

protected KnownInterfaces.KnownInterfaceType classifyInterface(String iface)

checkValid

public void checkValid()
Overrides:
checkValid in class JBossEnterpriseBeanMetaData

clone

public IdMetaDataImpl clone()
Overrides:
clone in class IdMetaDataImpl

createPolicy

public DefaultJndiBindingPolicy createPolicy(ClassLoader loader,
                                             Class<? extends DefaultJndiBindingPolicy> defaultPolicyClass)
                                      throws Exception
Description copied from class: JBossEnterpriseBeanMetaData
Create the DefaultJndiBindingPolicy from the bean metadata.

Overrides:
createPolicy in class JBossEnterpriseBeanMetaData
Parameters:
loader - - the class loader used to load the policy class
defaultPolicyClass - - a fallback implementation to use if the bean has no policy set.
Returns:
the DefaultJndiBindingPolicy implementation
Throws:
Exception - on failure to load the policy class or instantiate it

determineAllDepends

public Set<String> determineAllDepends()
Description copied from class: JBossEnterpriseBeanMetaData
Get the depends.

Overrides:
determineAllDepends in class JBossEnterpriseBeanMetaData
Returns:
the depends.

determineCacheInvalidationConfig

public CacheInvalidationConfigMetaData determineCacheInvalidationConfig()
Description copied from class: JBossEntityBeanMetaData
Get the cacheInvalidationConfig.

Overrides:
determineCacheInvalidationConfig in class JBossEntityBeanMetaData
Returns:
the cacheInvalidationConfig.

determineClusterConfig

public ClusterConfigMetaData determineClusterConfig()
Description copied from class: JBossEntityBeanMetaData
Determine the clusterConfig.

Overrides:
determineClusterConfig in class JBossEntityBeanMetaData
Returns:
the clusterConfig.

determineConfigurationName

public String determineConfigurationName()
Description copied from class: JBossEnterpriseBeanMetaData
Determine the configuration name

Overrides:
determineConfigurationName in class JBossEnterpriseBeanMetaData
Returns:
the configuration name

determineContainerConfiguration

public ContainerConfigurationMetaData determineContainerConfiguration()
Description copied from class: JBossEnterpriseBeanMetaData
Get the container configuration

Overrides:
determineContainerConfiguration in class JBossEnterpriseBeanMetaData
Returns:
the container configuration

determineContainerName

public String determineContainerName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the kernel name for the ejb container. This is either the containerName managed property, or a runtime generated name set via the non-managed generatedContainerName property.

Overrides:
determineContainerName in class JBossEnterpriseBeanMetaData
Returns:
the kernel name for the ejb container

determineInvokerBinding

public InvokerBindingMetaData determineInvokerBinding(String invokerName)
Description copied from class: JBossEnterpriseBeanMetaData
Determine an invoker binding

Overrides:
determineInvokerBinding in class JBossEnterpriseBeanMetaData
Parameters:
invokerName - the invoker proxy binding name
Returns:
the invoke binding

determineInvokerBindings

public InvokerBindingsMetaData determineInvokerBindings()
Description copied from class: JBossEnterpriseBeanMetaData
Determine the invokers

Overrides:
determineInvokerBindings in class JBossEnterpriseBeanMetaData
Returns:
the invokers.

determineJndiName

public String determineJndiName()
Description copied from class: JBossEntityBeanMetaData
Determine the jndi name

Overrides:
determineJndiName in class JBossEntityBeanMetaData
Returns:
the jndi name

equals

public boolean equals(Object obj)
Overrides:
equals in class NamedMetaData

getAbstractSchemaName

public String getAbstractSchemaName()
Description copied from class: JBossEntityBeanMetaData
Get the abstractSchemaName.

Overrides:
getAbstractSchemaName in class JBossEntityBeanMetaData
Returns:
the abstractSchemaName.

getAnnotatedEjbReferences

public AnnotatedEJBReferencesMetaData getAnnotatedEjbReferences()
Description copied from interface: RemoteEnvironment
Get the ejbReferences.

Specified by:
getAnnotatedEjbReferences in interface RemoteEnvironment
Overrides:
getAnnotatedEjbReferences in class JBossEnterpriseBeanMetaData
Returns:
the ejbReferences.

getAnnotations

public AnnotationsMetaData getAnnotations()
Description copied from class: JBossEnterpriseBeanMetaData
Get the annotations.

Overrides:
getAnnotations in class JBossEnterpriseBeanMetaData
Returns:
the annotations.

getAopDomainName

public String getAopDomainName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the aopDomainName.

Overrides:
getAopDomainName in class JBossEnterpriseBeanMetaData
Returns:
the aopDomainName.

getCacheInvalidationConfig

public CacheInvalidationConfigMetaData getCacheInvalidationConfig()
Description copied from class: JBossEntityBeanMetaData
Get the cacheInvalidationConfig.

Overrides:
getCacheInvalidationConfig in class JBossEntityBeanMetaData
Returns:
the cacheInvalidationConfig.

getClusterConfig

public ClusterConfigMetaData getClusterConfig()
Description copied from class: JBossEntityBeanMetaData
Get the clusterConfig.

Overrides:
getClusterConfig in class JBossEntityBeanMetaData
Returns:
the clusterConfig.

getCmpFields

public CMPFieldsMetaData getCmpFields()
Description copied from class: JBossEntityBeanMetaData
Get the cmpFields.

Overrides:
getCmpFields in class JBossEntityBeanMetaData
Returns:
the cmpFields.

getCmpVersion

public String getCmpVersion()
Description copied from class: JBossEntityBeanMetaData
Get the cmpVersion.

Overrides:
getCmpVersion in class JBossEntityBeanMetaData
Returns:
the cmpVersion.

getConfigurationName

public String getConfigurationName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the configurationName.

Overrides:
getConfigurationName in class JBossEnterpriseBeanMetaData
Returns:
the configurationName.

getContainerName

public String getContainerName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the kernel name for the ejb container. This is the managed property version admin tools may use to control the name. Generally its not set and the server will set the name via the generatedContainerName non-managed property.

Overrides:
getContainerName in class JBossEnterpriseBeanMetaData
Returns:
containerName property value.
See Also:
JBossEnterpriseBeanMetaData.setGeneratedContainerName(String)

getContainerObjectNameJndiName

public String getContainerObjectNameJndiName()
Description copied from class: JBossEnterpriseBeanMetaData
Determine the container jndi name used in the object name. This is really obsolete as there is no need for jmx names.

Overrides:
getContainerObjectNameJndiName in class JBossEntityBeanMetaData
Returns:
the jndi name suitable for use in the object name

getContainerTransactions

public ContainerTransactionsMetaData getContainerTransactions()
Description copied from class: JBossEnterpriseBeanMetaData
Get the container transactions

Specified by:
getContainerTransactions in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getContainerTransactions in class JBossEnterpriseBeanMetaData
Returns:
the container transactions or null for no result

getDefaultConfigurationName

public String getDefaultConfigurationName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the default configuration name

Overrides:
getDefaultConfigurationName in class JBossEntityBeanMetaData
Returns:
the default name

getDefaultInvokerName

public String getDefaultInvokerName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the default invokers

Overrides:
getDefaultInvokerName in class JBossEntityBeanMetaData
Returns:
the default invokers

getDepends

public Set<String> getDepends()
Description copied from class: JBossEnterpriseBeanMetaData
Get the depends.

Overrides:
getDepends in class JBossEnterpriseBeanMetaData
Returns:
the depends.

getDescriptionGroup

public DescriptionGroupMetaData getDescriptionGroup()
Description copied from class: NamedMetaDataWithDescriptionGroup
Get the descriptionGroup.

Specified by:
getDescriptionGroup in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getDescriptionGroup in class NamedMetaDataWithDescriptionGroup
Returns:
the descriptionGroup.

getEjbClass

public String getEjbClass()
Specified by:
getEjbClass in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getEjbClass in class JBossEnterpriseBeanMetaData

getEjbJarMetaData

public JBossMetaData getEjbJarMetaData()
Specified by:
getEjbJarMetaData in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getEjbJarMetaData in class JBossEnterpriseBeanMetaData

getEjbLocalReferenceByName

public EJBLocalReferenceMetaData getEjbLocalReferenceByName(String name)
Description copied from interface: Environment
Get by name

Specified by:
getEjbLocalReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getEjbLocalReferenceByName in interface Environment
Overrides:
getEjbLocalReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getEjbLocalReferences

public EJBLocalReferencesMetaData getEjbLocalReferences()
Description copied from interface: Environment
Get the ejbLocalReferences.

Specified by:
getEjbLocalReferences in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getEjbLocalReferences in interface Environment
Overrides:
getEjbLocalReferences in class JBossEnterpriseBeanMetaData
Returns:
the ejbLocalReferences.

getEjbName

public String getEjbName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the ejbName.

Specified by:
getEjbName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getEjbName in class JBossEnterpriseBeanMetaData
Returns:
the ejbName.

getEjbReferenceByName

public EJBReferenceMetaData getEjbReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getEjbReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getEjbReferenceByName in interface RemoteEnvironment
Overrides:
getEjbReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getEjbReferences

public EJBReferencesMetaData getEjbReferences()
Description copied from interface: RemoteEnvironment
Get the ejbReferences.

Specified by:
getEjbReferences in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getEjbReferences in interface RemoteEnvironment
Overrides:
getEjbReferences in class JBossEnterpriseBeanMetaData
Returns:
the ejbReferences.

getEnterpriseBeansMetaData

public JBossEnterpriseBeansMetaData getEnterpriseBeansMetaData()
Description copied from class: JBossEnterpriseBeanMetaData
Get the enterpriseBeansMetaData.

Overrides:
getEnterpriseBeansMetaData in class JBossEnterpriseBeanMetaData
Returns:
the enterpriseBeansMetaData.

getEnvironmentEntries

public EnvironmentEntriesMetaData getEnvironmentEntries()
Description copied from interface: RemoteEnvironment
Get the environmentEntries.

Specified by:
getEnvironmentEntries in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getEnvironmentEntries in interface RemoteEnvironment
Overrides:
getEnvironmentEntries in class JBossEnterpriseBeanMetaData
Returns:
the environmentEntries.

getEnvironmentEntryByName

public EnvironmentEntryMetaData getEnvironmentEntryByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getEnvironmentEntryByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getEnvironmentEntryByName in interface RemoteEnvironment
Overrides:
getEnvironmentEntryByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getExcludeList

public ExcludeListMetaData getExcludeList()
Description copied from class: JBossEnterpriseBeanMetaData
Get the exclude list

Specified by:
getExcludeList in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getExcludeList in class JBossEnterpriseBeanMetaData
Returns:
the exclude list or null for no result

getGeneratedContainerName

public String getGeneratedContainerName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the generated kernel name for the ejb container. This is the non-managed property version that the server would use to set the name it generated when no containerName property existed.

Overrides:
getGeneratedContainerName in class JBossEnterpriseBeanMetaData
Returns:
generatedContainerName property value.
See Also:
JBossEnterpriseBeanMetaData.getContainerName()

getHome

public String getHome()
Description copied from class: JBossEntityBeanMetaData
Get the home.

Overrides:
getHome in class JBossEntityBeanMetaData
Returns:
the home.

getId

public String getId()
Description copied from interface: IdMetaData
Get the id.

Specified by:
getId in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getId in interface IdMetaData
Overrides:
getId in class IdMetaDataImpl
Returns:
the id.

getIgnoreDependency

public IgnoreDependencyMetaData getIgnoreDependency()
Description copied from class: JBossEnterpriseBeanMetaData
Get the ignoreDependency.

Overrides:
getIgnoreDependency in class JBossEnterpriseBeanMetaData
Returns:
the ignoreDependency.

getInvokerBindings

public InvokerBindingsMetaData getInvokerBindings()
Description copied from class: JBossEnterpriseBeanMetaData
Get the invokers.

Overrides:
getInvokerBindings in class JBossEnterpriseBeanMetaData
Returns:
the invokers.

getIorSecurityConfig

public IORSecurityConfigMetaData getIorSecurityConfig()
Description copied from class: JBossEnterpriseBeanMetaData
Get the iorSecurityConfig.

Overrides:
getIorSecurityConfig in class JBossEnterpriseBeanMetaData
Returns:
the iorSecurityConfig.

getJBossMetaData

public JBossMetaData getJBossMetaData()
Description copied from class: JBossEnterpriseBeanMetaData
Get the jbossMetaData.

Overrides:
getJBossMetaData in class JBossEnterpriseBeanMetaData
Returns:
the jbossMetaData.

getJBossMetaDataWithCheck

public JBossMetaData getJBossMetaDataWithCheck()
Description copied from class: JBossEnterpriseBeanMetaData
Get the jbossMetaData.

Overrides:
getJBossMetaDataWithCheck in class JBossEnterpriseBeanMetaData
Returns:
the jbossMetaData with check

getJndiBindingPolicy

public String getJndiBindingPolicy()
Overrides:
getJndiBindingPolicy in class JBossEnterpriseBeanMetaData

getJndiEnvironmentRefsGroup

public Environment getJndiEnvironmentRefsGroup()
Description copied from class: JBossEnterpriseBeanMetaData
Get the jndiEnvironmentRefsGroup.

Specified by:
getJndiEnvironmentRefsGroup in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getJndiEnvironmentRefsGroup in class JBossEnterpriseBeanMetaData
Returns:
the jndiEnvironmentRefsGroup.

getJndiName

public String getJndiName()
Description copied from class: JBossEntityBeanMetaData
Get the jndiName.

Overrides:
getJndiName in class JBossEntityBeanMetaData
Returns:
the jndiName.

getJndiRefs

public JndiRefsMetaData getJndiRefs()
Description copied from class: JBossEnterpriseBeanMetaData
Get the jndiRefs.

Overrides:
getJndiRefs in class JBossEnterpriseBeanMetaData
Returns:
the jndiRefs.

getKey

public String getKey()
Description copied from interface: MappableMetaData
The key

Specified by:
getKey in interface MappableMetaData
Overrides:
getKey in class NamedMetaData
Returns:
return the key

getLocal

public String getLocal()
Description copied from class: JBossEntityBeanMetaData
Get the local.

Overrides:
getLocal in class JBossEntityBeanMetaData
Returns:
the local.

getLocalHome

public String getLocalHome()
Description copied from class: JBossEntityBeanMetaData
Get the localHome.

Overrides:
getLocalHome in class JBossEntityBeanMetaData
Returns:
the localHome.

getLocalJndiName

public String getLocalJndiName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the localJndiName.

Overrides:
getLocalJndiName in class JBossEnterpriseBeanMetaData
Returns:
the localJndiName.

getMappedName

public String getMappedName()
Specified by:
getMappedName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getMappedName in class JBossEnterpriseBeanMetaData

getMessageDestinationReferenceByName

public MessageDestinationReferenceMetaData getMessageDestinationReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getMessageDestinationReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getMessageDestinationReferenceByName in interface RemoteEnvironment
Overrides:
getMessageDestinationReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getMessageDestinationReferences

public MessageDestinationReferencesMetaData getMessageDestinationReferences()
Description copied from interface: RemoteEnvironment
Get the messageDestinationReferences.

Specified by:
getMessageDestinationReferences in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getMessageDestinationReferences in interface RemoteEnvironment
Overrides:
getMessageDestinationReferences in class JBossEnterpriseBeanMetaData
Returns:
the messageDestinationReferences.

getMethodAttributes

public MethodAttributesMetaData getMethodAttributes()
Description copied from class: JBossEnterpriseBeanMetaData
Get the methodAttributes.

Overrides:
getMethodAttributes in class JBossEnterpriseBeanMetaData
Returns:
the methodAttributes.

getMethodPermissions

public MethodPermissionsMetaData getMethodPermissions()
Description copied from class: JBossEnterpriseBeanMetaData
Get the methods permissions

Specified by:
getMethodPermissions in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getMethodPermissions in class JBossEnterpriseBeanMetaData
Returns:
the method permissions or null for no result

getMethodPermissions

public Set<String> getMethodPermissions(String methodName,
                                        Class<?>[] params,
                                        MethodInterfaceType interfaceType)
Description copied from class: JBossEnterpriseBeanMetaData
A somewhat tedious method that builds a Set of the roles that have been assigned permission to execute the indicated method. The work performed is tedious because of the wildcard style of declaring method permission allowed in the ejb-jar.xml descriptor. This method is called by the Container.getMethodPermissions() when it fails to find the prebuilt set of method roles in its cache.

Overrides:
getMethodPermissions in class JBossEnterpriseBeanMetaData
Parameters:
methodName - the method name
params - the parameters
interfaceType - the interface type
Returns:
The Set for the application domain roles that caller principal's are to be validated against.

getMethodTransactionTimeout

public int getMethodTransactionTimeout(Method method)
Description copied from class: JBossEnterpriseBeanMetaData
Get the transaction timeout for the method

Overrides:
getMethodTransactionTimeout in class JBossEnterpriseBeanMetaData
Parameters:
method - the method
Returns:
the transaction timeout

getMethodTransactionTimeout

public int getMethodTransactionTimeout(String methodName)
Description copied from class: JBossEnterpriseBeanMetaData
Get the transaction timeout for the method

Overrides:
getMethodTransactionTimeout in class JBossEnterpriseBeanMetaData
Parameters:
methodName - the method name
Returns:
the transaction timeout

getMethodTransactionType

public javax.ejb.TransactionAttributeType getMethodTransactionType(Method m,
                                                                   MethodInterfaceType iface)
Description copied from class: JBossEnterpriseBeanMetaData
Get the transaction type

Specified by:
getMethodTransactionType in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getMethodTransactionType in class JBossEnterpriseBeanMetaData
Parameters:
m - the method
iface - the interface type
Returns:
the transaction type

getMethodTransactionType

public javax.ejb.TransactionAttributeType getMethodTransactionType(String methodName,
                                                                   Class<?>[] params,
                                                                   MethodInterfaceType iface)
Description copied from class: JBossEnterpriseBeanMetaData
Get the method transaction type

Specified by:
getMethodTransactionType in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getMethodTransactionType in class JBossEnterpriseBeanMetaData
Parameters:
methodName - the method name
params - the parameters
iface - the interface type
Returns:
the method transaction type

getName

public String getName()
Description copied from class: NamedMetaData
Get the name.

Overrides:
getName in class NamedMetaData
Returns:
the name.

getPersistenceContextReferenceByName

public PersistenceContextReferenceMetaData getPersistenceContextReferenceByName(String name)
Description copied from interface: Environment
Get by name

Specified by:
getPersistenceContextReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getPersistenceContextReferenceByName in interface Environment
Overrides:
getPersistenceContextReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getPersistenceContextRefs

public PersistenceContextReferencesMetaData getPersistenceContextRefs()
Description copied from interface: Environment
Get the persistenceContextRefs.

Specified by:
getPersistenceContextRefs in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getPersistenceContextRefs in interface Environment
Overrides:
getPersistenceContextRefs in class JBossEnterpriseBeanMetaData
Returns:
the persistenceContextRefs.

getPersistenceType

public PersistenceType getPersistenceType()
Description copied from class: JBossEntityBeanMetaData
Get the persistenceType.

Overrides:
getPersistenceType in class JBossEntityBeanMetaData
Returns:
the persistenceType.

getPersistenceUnitReferenceByName

public PersistenceUnitReferenceMetaData getPersistenceUnitReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getPersistenceUnitReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getPersistenceUnitReferenceByName in interface RemoteEnvironment
Overrides:
getPersistenceUnitReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getPersistenceUnitRefs

public PersistenceUnitReferencesMetaData getPersistenceUnitRefs()
Description copied from interface: RemoteEnvironment
Get the persistenceUnitRefs.

Specified by:
getPersistenceUnitRefs in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getPersistenceUnitRefs in interface RemoteEnvironment
Overrides:
getPersistenceUnitRefs in class JBossEnterpriseBeanMetaData
Returns:
the persistenceUnitRefs.

getPoolConfig

public PoolConfigMetaData getPoolConfig()
Overrides:
getPoolConfig in class JBossEnterpriseBeanMetaData

getPostConstructs

public LifecycleCallbacksMetaData getPostConstructs()
Description copied from interface: RemoteEnvironment
Get the postConstructs.

Specified by:
getPostConstructs in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getPostConstructs in interface RemoteEnvironment
Overrides:
getPostConstructs in class JBossEnterpriseBeanMetaData
Returns:
the postConstructs.

getPreDestroys

public LifecycleCallbacksMetaData getPreDestroys()
Description copied from interface: RemoteEnvironment
Get the preDestroys.

Specified by:
getPreDestroys in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getPreDestroys in interface RemoteEnvironment
Overrides:
getPreDestroys in class JBossEnterpriseBeanMetaData
Returns:
the preDestroys.

getPrimKeyClass

public String getPrimKeyClass()
Description copied from class: JBossEntityBeanMetaData
Get the primKeyClass.

Overrides:
getPrimKeyClass in class JBossEntityBeanMetaData
Returns:
the primKeyClass.

getPrimKeyField

public String getPrimKeyField()
Description copied from class: JBossEntityBeanMetaData
Get the primKeyField.

Overrides:
getPrimKeyField in class JBossEntityBeanMetaData
Returns:
the primKeyField.

getQueries

public QueriesMetaData getQueries()
Description copied from class: JBossEntityBeanMetaData
Get the queries.

Overrides:
getQueries in class JBossEntityBeanMetaData
Returns:
the queries.

getRemote

public String getRemote()
Description copied from class: JBossEntityBeanMetaData
Get the remote.

Overrides:
getRemote in class JBossEntityBeanMetaData
Returns:
the remote.

getResourceEnvironmentReferenceByName

public ResourceEnvironmentReferenceMetaData getResourceEnvironmentReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getResourceEnvironmentReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getResourceEnvironmentReferenceByName in interface RemoteEnvironment
Overrides:
getResourceEnvironmentReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getResourceEnvironmentReferences

public ResourceEnvironmentReferencesMetaData getResourceEnvironmentReferences()
Description copied from interface: RemoteEnvironment
Get the resourceEnvironmentReferences.

Specified by:
getResourceEnvironmentReferences in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getResourceEnvironmentReferences in interface RemoteEnvironment
Overrides:
getResourceEnvironmentReferences in class JBossEnterpriseBeanMetaData
Returns:
the resourceEnvironmentReferences.

getResourceReferenceByName

public ResourceReferenceMetaData getResourceReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getResourceReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getResourceReferenceByName in interface RemoteEnvironment
Overrides:
getResourceReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getResourceReferences

public ResourceReferencesMetaData getResourceReferences()
Description copied from interface: RemoteEnvironment
Get the resourceReferences.

Specified by:
getResourceReferences in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getResourceReferences in interface RemoteEnvironment
Overrides:
getResourceReferences in class JBossEnterpriseBeanMetaData
Returns:
the resourceReferences.

getSecurityDomain

public String getSecurityDomain()
Description copied from class: JBossEnterpriseBeanMetaData
Get the securityDomain.

Overrides:
getSecurityDomain in class JBossEnterpriseBeanMetaData
Returns:
the securityDomain.

getSecurityIdentity

public SecurityIdentityMetaData getSecurityIdentity()
Description copied from class: JBossEnterpriseBeanMetaData
Get the securityIdentity.

Specified by:
getSecurityIdentity in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getSecurityIdentity in class JBossEnterpriseBeanMetaData
Returns:
the securityIdentity.

getSecurityProxy

public String getSecurityProxy()
Description copied from class: JBossEnterpriseBeanMetaData
Get the securityProxy.

Overrides:
getSecurityProxy in class JBossEnterpriseBeanMetaData
Returns:
the securityProxy.

getSecurityRole

public SecurityRoleMetaData getSecurityRole(String roleName)
Description copied from class: JBossEnterpriseBeanMetaData
Get a security role

Overrides:
getSecurityRole in class JBossEnterpriseBeanMetaData
Parameters:
roleName - the role name
Returns:
the security role or null if not found

getSecurityRolePrincipals

public Set<String> getSecurityRolePrincipals(String roleName)
Description copied from class: JBossEnterpriseBeanMetaData
Get a security role's principals

Overrides:
getSecurityRolePrincipals in class JBossEnterpriseBeanMetaData
Parameters:
roleName - the role name
Returns:
the principals or null if not found

getSecurityRoleRefs

public SecurityRoleRefsMetaData getSecurityRoleRefs()
Description copied from class: JBossEntityBeanMetaData
Get the securityRoleRefs.

Overrides:
getSecurityRoleRefs in class JBossEntityBeanMetaData
Returns:
the securityRoleRefs.

getSecurityRolesPrincipalVersusRolesMap

public Map<String,Set<String>> getSecurityRolesPrincipalVersusRolesMap()
Description copied from class: JBossEnterpriseBeanMetaData
Get the Principal versus roles map stored in the security roles

Overrides:
getSecurityRolesPrincipalVersusRolesMap in class JBossEnterpriseBeanMetaData
Returns:

getServiceReferenceByName

public ServiceReferenceMetaData getServiceReferenceByName(String name)
Description copied from interface: RemoteEnvironment
Get by name

Specified by:
getServiceReferenceByName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getServiceReferenceByName in interface RemoteEnvironment
Overrides:
getServiceReferenceByName in class JBossEnterpriseBeanMetaData
Parameters:
name - the name
Returns:
the result or null if not found

getServiceReferences

public ServiceReferencesMetaData getServiceReferences()
Description copied from interface: RemoteEnvironment
Get the service references

Specified by:
getServiceReferences in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Specified by:
getServiceReferences in interface RemoteEnvironment
Overrides:
getServiceReferences in class JBossEnterpriseBeanMetaData

getTransactionType

public javax.ejb.TransactionManagementType getTransactionType()
Specified by:
getTransactionType in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
getTransactionType in class JBossEnterpriseBeanMetaData

hashCode

public int hashCode()
Overrides:
hashCode in class NamedMetaData

hasMethodPermissions

public boolean hasMethodPermissions(String methodName,
                                    Class<?>[] params,
                                    MethodInterfaceType interfaceType)
Description copied from class: JBossEnterpriseBeanMetaData
Check to see if there was a method-permission or exclude-list statement for the given method.

Overrides:
hasMethodPermissions in class JBossEnterpriseBeanMetaData
Parameters:
methodName - - the method name
params - - the method parameter signature
interfaceType - - the method interface type
Returns:
true if a matching method permission exists, false if no match

isBMP

public boolean isBMP()
Description copied from class: JBossEntityBeanMetaData
Is this bean managed persistence

Overrides:
isBMP in class JBossEntityBeanMetaData
Returns:
true for bmp

isBMT

public boolean isBMT()
Description copied from class: JBossEnterpriseBeanMetaData
Is this bean managed transactions

Specified by:
isBMT in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
isBMT in class JBossEnterpriseBeanMetaData
Returns:
true when BMT

isCacheInvalidation

public boolean isCacheInvalidation()
Description copied from class: JBossEntityBeanMetaData
Get the cacheInvalidation.

Overrides:
isCacheInvalidation in class JBossEntityBeanMetaData
Returns:
the cacheInvalidation.

isCallByValue

public boolean isCallByValue()
Description copied from class: JBossEntityBeanMetaData
Get the callByValue.

Overrides:
isCallByValue in class JBossEntityBeanMetaData
Returns:
the callByValue.

isClustered

public boolean isClustered()
Description copied from class: JBossEntityBeanMetaData
Get the clustered.

Overrides:
isClustered in class JBossEntityBeanMetaData
Returns:
the clustered.

isCMP

public boolean isCMP()
Description copied from class: JBossEntityBeanMetaData
Is this container managed persistence

Overrides:
isCMP in class JBossEntityBeanMetaData
Returns:
true for cmp

isCMP1x

public boolean isCMP1x()
Description copied from class: JBossEntityBeanMetaData
Whether it is CMP1x

Overrides:
isCMP1x in class JBossEntityBeanMetaData
Returns:
true for cmp1x

isCMT

public boolean isCMT()
Description copied from class: JBossEnterpriseBeanMetaData
Is this container managed transactions

Specified by:
isCMT in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
isCMT in class JBossEnterpriseBeanMetaData
Returns:
true when CMT

isConsumer

public boolean isConsumer()
Description copied from class: JBossEnterpriseBeanMetaData
Whether this is a consumer bean

Overrides:
isConsumer in class JBossEnterpriseBeanMetaData
Returns:
true when a consumer bean

isEntity

public boolean isEntity()
Description copied from class: JBossEnterpriseBeanMetaData
Whether this is an entity bean

Specified by:
isEntity in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
isEntity in class JBossEntityBeanMetaData
Returns:
true when an entity bean

isExceptionOnRollback

public boolean isExceptionOnRollback()
Description copied from class: JBossEnterpriseBeanMetaData
Get the exceptionOnRollback.

Overrides:
isExceptionOnRollback in class JBossEnterpriseBeanMetaData
Returns:
the exceptionOnRollback.

isGeneric

public boolean isGeneric()
Overrides:
isGeneric in class JBossEnterpriseBeanMetaData

isMessageDriven

public boolean isMessageDriven()
Description copied from class: JBossEnterpriseBeanMetaData
Whether this is a message driven bean

Specified by:
isMessageDriven in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
isMessageDriven in class JBossEnterpriseBeanMetaData
Returns:
true when a message driven bean

isMethodReadOnly

public boolean isMethodReadOnly(Method method)
Description copied from class: JBossEnterpriseBeanMetaData
Is this method a read-only method

Overrides:
isMethodReadOnly in class JBossEnterpriseBeanMetaData
Parameters:
method - the method
Returns:
true for read only

isMethodReadOnly

public boolean isMethodReadOnly(String methodName)
Description copied from class: JBossEnterpriseBeanMetaData
Is this method a read-only method

Overrides:
isMethodReadOnly in class JBossEnterpriseBeanMetaData
Parameters:
methodName - the method name
Returns:
true for read only

isReadOnly

public boolean isReadOnly()
Description copied from class: JBossEntityBeanMetaData
Get the readOnly.

Overrides:
isReadOnly in class JBossEntityBeanMetaData
Returns:
the readOnly.

isReentrant

public boolean isReentrant()
Description copied from class: JBossEntityBeanMetaData
Get the reentrant.

Overrides:
isReentrant in class JBossEntityBeanMetaData
Returns:
the reentrant.

isService

public boolean isService()
Description copied from class: JBossEnterpriseBeanMetaData
Whether this is a service bean

Overrides:
isService in class JBossEnterpriseBeanMetaData
Returns:
true when a service bean

isSession

public boolean isSession()
Description copied from class: JBossEnterpriseBeanMetaData
Whether this is a session bean

Specified by:
isSession in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
isSession in class JBossEnterpriseBeanMetaData
Returns:
true when a session bean

isTimerPersistence

public boolean isTimerPersistence()
Description copied from class: JBossEnterpriseBeanMetaData
Get the timerPersistence.

Overrides:
isTimerPersistence in class JBossEnterpriseBeanMetaData
Returns:
the timerPersistence.

merge

public void merge(IdMetaData override,
                  IdMetaData original)
Overrides:
merge in class IdMetaDataImpl

merge

public void merge(IdMetaDataImpl override,
                  IdMetaDataImpl original)
Description copied from class: IdMetaDataImpl
Merge the contents of override with original into this.

Overrides:
merge in class IdMetaDataImpl
Parameters:
override - data which overrides original
original - the original data

merge

public void merge(JBossEnterpriseBeanMetaData override,
                  EnterpriseBeanMetaData original,
                  String overridenFile,
                  String overrideFile,
                  boolean mustOverride)
Overrides:
merge in class JBossEntityBeanMetaData

merge

public void merge(JBossEnterpriseBeanMetaData override,
                  EnterpriseBeanMetaData original)
Overrides:
merge in class JBossEnterpriseBeanMetaData

merge

public void merge(JBossEnterpriseBeanMetaData overrideEjb,
                  JBossEnterpriseBeanMetaData originalEjb)
Overrides:
merge in class JBossEntityBeanMetaData

merge

public void merge(NamedMetaData override,
                  NamedMetaData original)
Description copied from class: NamedMetaData
Merge override + original into this

Overrides:
merge in class JBossEnterpriseBeanMetaData
Parameters:
override - data which overrides original
original - the original data

newBean

public JBossEnterpriseBeanMetaData newBean()
Overrides:
newBean in class JBossEnterpriseBeanMetaData
Returns:
returns a new instance of the same type

setAbstractSchemaName

public void setAbstractSchemaName(String abstractSchemaName)
Description copied from class: JBossEntityBeanMetaData
Set the abstractSchemaName.

Overrides:
setAbstractSchemaName in class JBossEntityBeanMetaData
Parameters:
abstractSchemaName - the abstractSchemaName.

setAnnotations

public void setAnnotations(AnnotationsMetaData annotations)
Description copied from class: JBossEnterpriseBeanMetaData
Set the annotations.

Overrides:
setAnnotations in class JBossEnterpriseBeanMetaData
Parameters:
annotations - the annotations.

setAopDomainName

public void setAopDomainName(String aopDomainName)
Description copied from class: JBossEnterpriseBeanMetaData
Set the aopDomainName.

Overrides:
setAopDomainName in class JBossEnterpriseBeanMetaData
Parameters:
aopDomainName - the aopDomainName.

setCacheInvalidation

public void setCacheInvalidation(boolean cacheInvalidation)
Description copied from class: JBossEntityBeanMetaData
Set the cacheInvalidation.

Overrides:
setCacheInvalidation in class JBossEntityBeanMetaData
Parameters:
cacheInvalidation - the cacheInvalidation.

setCacheInvalidationConfig

public void setCacheInvalidationConfig(CacheInvalidationConfigMetaData cacheInvalidationConfig)
Description copied from class: JBossEntityBeanMetaData
Set the cacheInvalidationConfig.

Overrides:
setCacheInvalidationConfig in class JBossEntityBeanMetaData
Parameters:
cacheInvalidationConfig - the cacheInvalidationConfig.

setCallByValue

public void setCallByValue(boolean callByValue)
Description copied from class: JBossEntityBeanMetaData
Set the callByValue.

Overrides:
setCallByValue in class JBossEntityBeanMetaData
Parameters:
callByValue - the callByValue.

setClusterConfig

public void setClusterConfig(ClusterConfigMetaData clusterConfig)
Description copied from class: JBossEntityBeanMetaData
Set the clusterConfig.

Overrides:
setClusterConfig in class JBossEntityBeanMetaData
Parameters:
clusterConfig - the clusterConfig.

setClustered

public void setClustered(boolean clustered)
Description copied from class: JBossEntityBeanMetaData
Set the clustered.

Overrides:
setClustered in class JBossEntityBeanMetaData
Parameters:
clustered - the clustered.

setCmpFields

public void setCmpFields(CMPFieldsMetaData cmpFields)
Description copied from class: JBossEntityBeanMetaData
Set the cmpFields.

Overrides:
setCmpFields in class JBossEntityBeanMetaData
Parameters:
cmpFields - the cmpFields.

setCmpVersion

public void setCmpVersion(String cmpVersion)
Description copied from class: JBossEntityBeanMetaData
Set the cmpVersion.

Overrides:
setCmpVersion in class JBossEntityBeanMetaData
Parameters:
cmpVersion - the cmpVersion.

setConfigurationName

public void setConfigurationName(String configurationName)
Description copied from class: JBossEnterpriseBeanMetaData
Set the configurationName.

Overrides:
setConfigurationName in class JBossEnterpriseBeanMetaData
Parameters:
configurationName - the configurationName.

setContainerName

public void setContainerName(String containerName)
Overrides:
setContainerName in class JBossEnterpriseBeanMetaData

setDepends

public void setDepends(Set<String> depends)
Description copied from class: JBossEnterpriseBeanMetaData
Set the depends.

Overrides:
setDepends in class JBossEnterpriseBeanMetaData
Parameters:
depends - the depends.

setDescriptionGroup

public void setDescriptionGroup(DescriptionGroupMetaData descriptionGroup)
Description copied from class: NamedMetaDataWithDescriptionGroup
Set the descriptionGroup.

Specified by:
setDescriptionGroup in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
setDescriptionGroup in class NamedMetaDataWithDescriptionGroup
Parameters:
descriptionGroup - the descriptionGroup.

setEjbClass

public void setEjbClass(String ejbClass)
Specified by:
setEjbClass in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
setEjbClass in class JBossEnterpriseBeanMetaData

setEjbName

public void setEjbName(String ejbName)
Description copied from class: JBossEnterpriseBeanMetaData
Set the ejbName.

Specified by:
setEjbName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
setEjbName in class JBossEnterpriseBeanMetaData
Parameters:
ejbName - the ejbName.

setEnterpriseBeansMetaData

public void setEnterpriseBeansMetaData(JBossEnterpriseBeansMetaData enterpriseBeansMetaData)
Description copied from class: JBossEnterpriseBeanMetaData
Set the enterpriseBeansMetaData.

Specified by:
setEnterpriseBeansMetaData in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
setEnterpriseBeansMetaData in class JBossEnterpriseBeanMetaData
Parameters:
enterpriseBeansMetaData - the enterpriseBeansMetaData.

setExceptionOnRollback

public void setExceptionOnRollback(boolean exceptionOnRollback)
Description copied from class: JBossEnterpriseBeanMetaData
Set the exceptionOnRollback.

Overrides:
setExceptionOnRollback in class JBossEnterpriseBeanMetaData
Parameters:
exceptionOnRollback - the exceptionOnRollback.

setGeneratedContainerName

public void setGeneratedContainerName(String containerName)
Overrides:
setGeneratedContainerName in class JBossEnterpriseBeanMetaData

setHome

public void setHome(String home)
Description copied from class: JBossEntityBeanMetaData
Set the home.

Overrides:
setHome in class JBossEntityBeanMetaData
Parameters:
home - the home.

setId

public void setId(String id)
Description copied from interface: IdMetaData
Set the id.

Specified by:
setId in interface IdMetaData
Overrides:
setId in class IdMetaDataImpl
Parameters:
id - the id.

setIgnoreDependency

public void setIgnoreDependency(IgnoreDependencyMetaData ignoreDependency)
Description copied from class: JBossEnterpriseBeanMetaData
Set the ignoreDependency.

Overrides:
setIgnoreDependency in class JBossEnterpriseBeanMetaData
Parameters:
ignoreDependency - the ignoreDependency.

setInvokerBindings

public void setInvokerBindings(InvokerBindingsMetaData invokers)
Description copied from class: JBossEnterpriseBeanMetaData
Set the invokers.

Overrides:
setInvokerBindings in class JBossEnterpriseBeanMetaData
Parameters:
invokers - the invokers.

setIorSecurityConfig

public void setIorSecurityConfig(IORSecurityConfigMetaData iorSecurityConfig)
Description copied from class: JBossEnterpriseBeanMetaData
Set the iorSecurityConfig.

Overrides:
setIorSecurityConfig in class JBossEnterpriseBeanMetaData
Parameters:
iorSecurityConfig - the iorSecurityConfig.

setJndiBindingPolicy

public void setJndiBindingPolicy(String jndiBindingPolicy)
Overrides:
setJndiBindingPolicy in class JBossEnterpriseBeanMetaData

setJndiEnvironmentRefsGroup

public void setJndiEnvironmentRefsGroup(Environment env)
Specified by:
setJndiEnvironmentRefsGroup in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
setJndiEnvironmentRefsGroup in class JBossEnterpriseBeanMetaData

setJndiName

public void setJndiName(String jndiName)
Description copied from class: JBossEntityBeanMetaData
Set the jndiName.

Overrides:
setJndiName in class JBossEntityBeanMetaData
Parameters:
jndiName - the jndiName.

setJndiRefs

public void setJndiRefs(JndiRefsMetaData jndiRefs)
Description copied from class: JBossEnterpriseBeanMetaData
Set the jndiRefs.

Overrides:
setJndiRefs in class JBossEnterpriseBeanMetaData
Parameters:
jndiRefs - the jndiRefs.

setLocal

public void setLocal(String local)
Description copied from class: JBossEntityBeanMetaData
Set the local.

Overrides:
setLocal in class JBossEntityBeanMetaData
Parameters:
local - the local.

setLocalHome

public void setLocalHome(String localHome)
Description copied from class: JBossEntityBeanMetaData
Set the localHome.

Overrides:
setLocalHome in class JBossEntityBeanMetaData
Parameters:
localHome - the localHome.

setLocalJndiName

public void setLocalJndiName(String localJndiName)
Description copied from class: JBossEnterpriseBeanMetaData
Set the localJndiName.

Overrides:
setLocalJndiName in class JBossEnterpriseBeanMetaData
Parameters:
localJndiName - the localJndiName.

setMappedName

public void setMappedName(String mappedName)
Specified by:
setMappedName in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
Overrides:
setMappedName in class JBossEnterpriseBeanMetaData

setMethodAttributes

public void setMethodAttributes(MethodAttributesMetaData methodAttributes)
Description copied from class: JBossEnterpriseBeanMetaData
Set the methodAttributes.

Overrides:
setMethodAttributes in class JBossEnterpriseBeanMetaData
Parameters:
methodAttributes - the methodAttributes.

setName

public void setName(String name)
Description copied from class: NamedMetaData
Set the name.

Overrides:
setName in class NamedMetaData
Parameters:
name - the name.

setPersistenceType

public void setPersistenceType(PersistenceType persistenceType)
Description copied from class: JBossEntityBeanMetaData
Set the persistenceType.

Overrides:
setPersistenceType in class JBossEntityBeanMetaData
Parameters:
persistenceType - the persistenceType.

setPoolConfig

public void setPoolConfig(PoolConfigMetaData poolConfig)
Overrides:
setPoolConfig in class JBossEnterpriseBeanMetaData

setPrimKeyClass

public void setPrimKeyClass(String primKeyClass)
Description copied from class: JBossEntityBeanMetaData
Set the primKeyClass.

Overrides:
setPrimKeyClass in class JBossEntityBeanMetaData
Parameters:
primKeyClass - the primKeyClass.

setPrimKeyField

public void setPrimKeyField(String primKeyField)
Description copied from class: JBossEntityBeanMetaData
Set the primKeyField.

Overrides:
setPrimKeyField in class JBossEntityBeanMetaData
Parameters:
primKeyField - the primKeyField.

setQueries

public void setQueries(QueriesMetaData queries)
Description copied from class: JBossEntityBeanMetaData
Set the queries.

Overrides:
setQueries in class JBossEntityBeanMetaData
Parameters:
queries - the queries.

setReadOnly

public void setReadOnly(boolean readOnly)
Description copied from class: JBossEntityBeanMetaData
Set the readOnly.

Overrides:
setReadOnly in class JBossEntityBeanMetaData
Parameters:
readOnly - the readOnly.

setReentrant

public void setReentrant(boolean reentrant)
Description copied from class: JBossEntityBeanMetaData
Set the reentrant.

Overrides:
setReentrant in class JBossEntityBeanMetaData
Parameters:
reentrant - the reentrant.

setRemote

public void setRemote(String remote)
Description copied from class: JBossEntityBeanMetaData
Set the remote.

Overrides:
setRemote in class JBossEntityBeanMetaData
Parameters:
remote - the remote.

setSecurityDomain

public void setSecurityDomain(String securityDomain)
Description copied from class: JBossEnterpriseBeanMetaData
Set the securityDomain.

Overrides:
setSecurityDomain in class JBossEnterpriseBeanMetaData
Parameters:
securityDomain - the securityDomain.

setSecurityIdentity

public void setSecurityIdentity(SecurityIdentityMetaData securityIdentity)
Description copied from class: JBossEnterpriseBeanMetaData
Set the securityIdentity.

Overrides:
setSecurityIdentity in class JBossEnterpriseBeanMetaData
Parameters:
securityIdentity - the securityIdentity.

setSecurityProxy

public void setSecurityProxy(String securityProxy)
Description copied from class: JBossEnterpriseBeanMetaData
Set the securityProxy.

Overrides:
setSecurityProxy in class JBossEnterpriseBeanMetaData
Parameters:
securityProxy - the securityProxy.

setSecurityRoleRefs

public void setSecurityRoleRefs(SecurityRoleRefsMetaData securityRoleRefs)
Description copied from class: JBossEntityBeanMetaData
Set the securityRoleRefs.

Overrides:
setSecurityRoleRefs in class JBossEntityBeanMetaData
Parameters:
securityRoleRefs - the securityRoleRefs.

setTimerPersistence

public void setTimerPersistence(boolean timerPersistence)
Description copied from class: JBossEnterpriseBeanMetaData
Set the timerPersistence.

Overrides:
setTimerPersistence in class JBossEnterpriseBeanMetaData
Parameters:
timerPersistence - the timerPersistence.

setTransactionType

public void setTransactionType(javax.ejb.TransactionManagementType transactionType)
Overrides:
setTransactionType in class JBossEnterpriseBeanMetaData

toString

public String toString()
Overrides:
toString in class NamedMetaData


Copyright © 2009 JBoss Inc.. All Rights Reserved.