org.jboss.metadata.ejb.jboss
Class JBossGenericBeanMetaData

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.JBossGenericBeanMetaData
All Implemented Interfaces:
Serializable, Cloneable, IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>, Environment, RemoteEnvironment, IdMetaData, MappableMetaData

public class JBossGenericBeanMetaData
extends JBossEnterpriseBeanMetaData

Allow for the specification of an unknown bean type in the deployment descriptor (EJBTHREE-936).

Version:
$Revision: 73126 $
Author:
Carlo de Wolf
See Also:
Serialized Form

Constructor Summary
JBossGenericBeanMetaData()
           
 
Method Summary
 String determineJndiName()
          Get the base jndi name for the bean if one exists.
 String getDefaultConfigurationName()
          Get the default configuration name
protected  String getDefaultInvokerName()
          Get the default invokers
 String getJndiName()
          Get the jndiName.
 PortComponent getPortComponent()
           
 void setJndiName(String jndiName)
          Set the jndiName.
 void setPortComponent(PortComponent portComponent)
           
 
Methods inherited from class org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData
checkValid, createPolicy, determineAllDepends, determineConfigurationName, determineContainerConfiguration, determineContainerName, determineInvokerBinding, determineInvokerBindings, determineLocalJndiName, determineResolvedJndiName, determineResolvedJndiName, getAnnotatedEjbReferences, getAnnotations, getAopDomainName, getAssemblyDescriptor, getConfigurationName, getContainerName, getContainerObjectNameJndiName, getContainerTransactions, getDefaultInvokerJndiName, getDefaultInvokers, getDepends, getEjbClass, getEjbJarMetaData, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getGeneratedContainerName, getIgnoreDependency, getInvokerBindings, getIorSecurityConfig, getJBossMetaData, getJBossMetaDataWithCheck, getJndiBindingPolicy, getJndiEnvironmentRefsGroup, getJndiRefs, getLocalJndiName, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferences, getMethodAttributes, getMethodPermissions, getMethodPermissions, getMethodTransactionTimeout, getMethodTransactionTimeout, getMethodTransactionType, getMethodTransactionType, getPersistenceContextReferenceByName, getPersistenceContextRefs, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPoolConfig, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getSecurityDomain, getSecurityIdentity, getSecurityProxy, getSecurityRole, getSecurityRolePrincipals, getSecurityRoleRefs, getServiceReferenceByName, getServiceReferences, getTransactionType, hasMethodPermissions, isBMT, isCMT, isConsumer, isEntity, isExceptionOnRollback, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isService, isSession, isTimerPersistence, merge, merge, merge, newBean, setAnnotations, setAopDomainName, setConfigurationName, setContainerName, setDepends, setEjbClass, setEjbName, setEnterpriseBeansMetaData, setExceptionOnRollback, setGeneratedContainerName, setIgnoreDependency, setInvokerBindings, setIorSecurityConfig, setJndiBindingPolicy, setJndiEnvironmentRefsGroup, setJndiRefs, setLocalJndiName, setMappedName, setMethodAttributes, setPoolConfig, setSecurityDomain, setSecurityIdentity, setSecurityProxy, setTimerPersistence, setTransactionType
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
getDescriptionGroup, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.common.ejb.IEnterpriseBeanMetaData
getDescriptionGroup, getId, setDescriptionGroup
 
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
 

Constructor Detail

JBossGenericBeanMetaData

public JBossGenericBeanMetaData()
Method Detail

getDefaultConfigurationName

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

Specified by:
getDefaultConfigurationName in class JBossEnterpriseBeanMetaData
Returns:
the default name

getDefaultInvokerName

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

Specified by:
getDefaultInvokerName in class JBossEnterpriseBeanMetaData
Returns:
the default invokers

determineJndiName

public String determineJndiName()
Description copied from class: JBossEnterpriseBeanMetaData
Get the base jndi name for the bean if one exists. Not all ejbs have a jndi name notion.

Specified by:
determineJndiName in class JBossEnterpriseBeanMetaData
Returns:
the base jndi name for the ejb it one exists, null otherwise.

getJndiName

public String getJndiName()
Get the jndiName.

Returns:
the jndiName.

setJndiName

public void setJndiName(String jndiName)
Set the jndiName.

Parameters:
jndiName - the jndiName.
Throws:
IllegalArgumentException - for a null jndiName

getPortComponent

public PortComponent getPortComponent()

setPortComponent

public void setPortComponent(PortComponent portComponent)


Copyright © 2008 JBoss, A division of Red Hat. All Rights Reserved.