public class JBossSessionBeanMetaData extends JBossEnterpriseBeanMetaData implements ITimeoutTarget
Constructor and Description |
---|
JBossSessionBeanMetaData()
Create a new SessionBeanMetaData.
|
Modifier and Type | Method and Description |
---|---|
void |
checkValid() |
ClusterConfigMetaData |
determineClusterConfig()
Determine the clusterConfig.
|
String |
determineJndiName()
Deprecated.
JBMETA-68
|
String |
determineLocalJndiName()
Deprecated.
JBMETA-68
|
AroundInvokesMetaData |
getAroundInvokes()
Get the aroundInvokes.
|
BusinessLocalsMetaData |
getBusinessLocals()
Get the businessLocals.
|
BusinessRemotesMetaData |
getBusinessRemotes()
Get the businessRemotes.
|
CacheConfigMetaData |
getCacheConfig() |
ClusterConfigMetaData |
getClusterConfig()
Get the clusterConfig.
|
String |
getContainerObjectNameJndiName()
Determine the container jndi name used in the object name.
|
String |
getDefaultConfigurationName()
Get the default configuration name
|
protected String |
getDefaultInvokerJndiName()
Determine the jndi name for invoker bindings that come from the container configuration
|
String |
getDefaultInvokerName()
Get the default invokers
|
SecurityIdentityMetaData |
getEjbTimeoutIdentity()
Get the ejbTimeoutIdentity.
|
String |
getHome()
Get the home.
|
String |
getHomeJndiName() |
InitMethodsMetaData |
getInitMethods()
Get the initMethods.
|
String |
getJndiName()
Get the jndiName.
|
String |
getLocal()
Get the local.
|
List<LocalBindingMetaData> |
getLocalBindings()
Get the local bindings
|
String |
getLocalHome()
Get the localHome.
|
String |
getLocalHomeJndiName() |
PortComponent |
getPortComponent() |
LifecycleCallbacksMetaData |
getPostActivates()
Get the postActivates.
|
LifecycleCallbacksMetaData |
getPrePassivates()
Get the prePassivates.
|
String |
getRemote()
Get the remote.
|
List<RemoteBindingMetaData> |
getRemoteBindings()
Get the remoteBinding.
|
RemoveMethodsMetaData |
getRemoveMethods()
Get the removeMethods.
|
SecurityRoleRefsMetaData |
getSecurityRoleRefs()
Get the securityRoleRefs.
|
String |
getServiceEndpoint()
Get the serviceEndpoint.
|
SessionType |
getSessionType()
Get the sessionType.
|
NamedMethodMetaData |
getTimeoutMethod()
Get the timeoutMethod.
|
boolean |
hasEJB2xView()
Returns true if this session bean exposes a EJB2.x view.
|
boolean |
hasEJB3xView()
Returns true if this session bean exposes a EJB 3.x view.
|
boolean |
isCallByValue()
Get the callByValue.
|
boolean |
isClustered()
Get the clustered.
|
Boolean |
isConcurrent()
Get the concurrent.
|
boolean |
isSession()
Whether this is a session bean
|
boolean |
isStateful()
Is this stateful
|
boolean |
isStateless()
Is this stateless
|
void |
merge(JBossEnterpriseBeanMetaData override,
EnterpriseBeanMetaData original,
String overridenFile,
String overrideFile,
boolean mustOverride) |
void |
merge(JBossEnterpriseBeanMetaData override,
JBossEnterpriseBeanMetaData original) |
protected void |
merge(JBossGenericBeanMetaData generic) |
void |
setAroundInvokes(AroundInvokesMetaData aroundInvokes)
Set the aroundInvokes.
|
void |
setBusinessLocals(BusinessLocalsMetaData businessLocals)
Set the businessLocals.
|
void |
setBusinessRemotes(BusinessRemotesMetaData businessRemotes)
Set the businessRemotes.
|
void |
setCacheConfig(CacheConfigMetaData cacheConfig) |
void |
setCallByValue(boolean callByValue)
Set the callByValue.
|
void |
setClusterConfig(ClusterConfigMetaData clusterConfig)
Set the clusterConfig.
|
void |
setClustered(boolean clustered)
Set the clustered.
|
void |
setConcurrent(Boolean concurrent)
Set the concurrent.
|
void |
setEjbTimeoutIdentity(SecurityIdentityMetaData ejbTimeoutIdentity)
Set the ejbTimeoutIdentity.
|
void |
setHome(String home)
Set the home.
|
void |
setHomeJndiName(String homeJndiName) |
void |
setInitMethods(InitMethodsMetaData initMethods)
Set the initMethods.
|
void |
setJndiName(String jndiName)
Set the jndiName.
|
void |
setLocal(String local)
Set the local.
|
void |
setLocalBindings(List<LocalBindingMetaData> localBindings)
Set the local bindings.
|
void |
setLocalHome(String localHome)
Set the localHome.
|
void |
setLocalHomeJndiName(String localHomeJndiName) |
void |
setPortComponent(PortComponent portComponent) |
void |
setPostActivates(LifecycleCallbacksMetaData postActivates)
Set the postActivates.
|
void |
setPrePassivates(LifecycleCallbacksMetaData prePassivates)
Set the prePassivates.
|
void |
setRemote(String remote)
Set the remote.
|
void |
setRemoteBindings(List<RemoteBindingMetaData> remoteBindings)
Set the remoteBinding.
|
void |
setRemoveMethods(RemoveMethodsMetaData removeMethods)
Set the removeMethods.
|
void |
setSecurityRoleRefs(SecurityRoleRefsMetaData securityRoleRefs)
Set the securityRoleRefs.
|
void |
setServiceEndpoint(String serviceEndpoint)
Set the serviceEndpoint.
|
void |
setSessionType(SessionType sessionType)
Set the sessionType.
|
void |
setTimeoutMethod(NamedMethodMetaData timeoutMethod)
Set the timeoutMethod.
|
determineAllDepends, determineConfigurationName, determineContainerConfiguration, determineContainerName, determineInvokerBinding, determineInvokerBindings, getAdministeredObjectByName, getAdministeredObjects, getAnnotatedEjbReferences, getAnnotations, getAopDomainName, getAssemblyDescriptor, getConfigurationName, getConnectionFactories, getConnectionFactoryByName, getContainerName, getContainerTransactions, getDataSourceByName, getDataSources, getDefaultInvokers, getDepends, getEjbClass, getEjbJarMetaData, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getGeneratedContainerName, getIgnoreDependency, getInvokerBindings, getIorSecurityConfig, getJBossMetaData, getJBossMetaDataWithCheck, getJmsConnectionFactories, getJmsConnectionFactoryByName, getJmsDestinationByName, getJmsDestinations, getJndiBindingPolicy, getJndiEnvironmentRefsGroup, getJndiRefs, getLocalJndiName, getMailSessionByName, getMailSessions, 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, getSecurityRolesPrincipalVersusRolesMap, getServiceReferenceByName, getServiceReferences, getTransactionType, hasMethodPermissions, isBMT, isCMT, isConsumer, isEntity, isExceptionOnRollback, isGeneric, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isService, isTimerPersistence, merge, newBean, newBean, setAnnotations, setAopDomainName, setConfigurationName, setContainerName, setDepends, setEjbClass, setEjbName, setEnterpriseBeansMetaData, setEnvironmentRefsGroup, setExceptionOnRollback, setGeneratedContainerName, setIgnoreDependency, setInvokerBindings, setIorSecurityConfig, setJndiBindingPolicy, setJndiEnvironmentRefsGroup, setJndiRefs, setLocalJndiName, setMappedName, setMethodAttributes, setPoolConfig, setSecurityDomain, setSecurityIdentity, setSecurityProxy, setTimerPersistence, setTransactionType
getDescriptionGroup, setDescriptionGroup
equals, getKey, getName, hashCode, setName, toString
clone, getId, setId
finalize, getClass, notify, notifyAll, wait, wait, wait
getDescriptionGroup, getId, setDescriptionGroup
getKey
public JBossSessionBeanMetaData()
public boolean isSession()
JBossEnterpriseBeanMetaData
isSession
in interface IEnterpriseBeanMetaData<JBossAssemblyDescriptorMetaData,JBossEnterpriseBeansMetaData,JBossEnterpriseBeanMetaData,JBossMetaData>
isSession
in class JBossEnterpriseBeanMetaData
public CacheConfigMetaData getCacheConfig()
public void setCacheConfig(CacheConfigMetaData cacheConfig)
public String getHome()
public void setHome(String home)
home
- the home.IllegalArgumentException
- for a null homepublic String getHomeJndiName()
public void setHomeJndiName(String homeJndiName)
public String getRemote()
public void setRemote(String remote)
remote
- the remote.IllegalArgumentException
- for a null remotepublic String getLocalHome()
public void setLocalHome(String localHome)
localHome
- the localHome.IllegalArgumentException
- for a null localHomepublic String getLocal()
public void setLocal(String local)
local
- the local.IllegalArgumentException
- for a null localpublic String getLocalHomeJndiName()
public void setLocalHomeJndiName(String localHomeJndiName)
public BusinessLocalsMetaData getBusinessLocals()
public void setBusinessLocals(BusinessLocalsMetaData businessLocals)
businessLocals
- the businessLocals.IllegalArgumentException
- for a null businessLocaslpublic BusinessRemotesMetaData getBusinessRemotes()
public void setBusinessRemotes(BusinessRemotesMetaData businessRemotes)
businessRemotes
- the businessRemotes.IllegalArgumentException
- for a null businessRemotespublic String getServiceEndpoint()
public void setServiceEndpoint(String serviceEndpoint)
serviceEndpoint
- the serviceEndpoint.IllegalArgumentException
- for a null serviceEndpointpublic SessionType getSessionType()
public void setSessionType(SessionType sessionType)
sessionType
- the sessionType.IllegalArgumentException
- for a null sessionTypepublic boolean isStateful()
public boolean isStateless()
public NamedMethodMetaData getTimeoutMethod()
getTimeoutMethod
in interface ITimeoutTarget
public void setTimeoutMethod(NamedMethodMetaData timeoutMethod)
setTimeoutMethod
in interface ITimeoutTarget
timeoutMethod
- the timeoutMethod.IllegalArgumentException
- for a null timeoutMethodpublic InitMethodsMetaData getInitMethods()
public void setInitMethods(InitMethodsMetaData initMethods)
initMethods
- the initMethods.IllegalArgumentException
- for a null initMethodspublic RemoveMethodsMetaData getRemoveMethods()
public void setRemoveMethods(RemoveMethodsMetaData removeMethods)
removeMethods
- the removeMethods.IllegalArgumentException
- for a null removeMethodspublic AroundInvokesMetaData getAroundInvokes()
public void setAroundInvokes(AroundInvokesMetaData aroundInvokes)
aroundInvokes
- the aroundInvokes.IllegalArgumentException
- for a null aroundInvokespublic LifecycleCallbacksMetaData getPostActivates()
public void setPostActivates(LifecycleCallbacksMetaData postActivates)
postActivates
- the postActivates.IllegalArgumentException
- for a null postActivatespublic LifecycleCallbacksMetaData getPrePassivates()
public void setPrePassivates(LifecycleCallbacksMetaData prePassivates)
prePassivates
- the prePassivates.IllegalArgumentException
- for a null prePassivatespublic SecurityRoleRefsMetaData getSecurityRoleRefs()
getSecurityRoleRefs
in class JBossEnterpriseBeanMetaData
public void setSecurityRoleRefs(SecurityRoleRefsMetaData securityRoleRefs)
securityRoleRefs
- the securityRoleRefs.IllegalArgumentException
- for a null securityRoleRefspublic String getDefaultConfigurationName()
JBossEnterpriseBeanMetaData
getDefaultConfigurationName
in class JBossEnterpriseBeanMetaData
public String getDefaultInvokerName()
JBossEnterpriseBeanMetaData
getDefaultInvokerName
in class JBossEnterpriseBeanMetaData
public String getJndiName()
public void setJndiName(String jndiName)
jndiName
- the jndiName.IllegalArgumentException
- for a null jndiName@Deprecated public String determineJndiName()
determineJndiName
in class JBossEnterpriseBeanMetaData
@Deprecated public String determineLocalJndiName()
determineLocalJndiName
in class JBossEnterpriseBeanMetaData
public String getContainerObjectNameJndiName()
JBossEnterpriseBeanMetaData
getContainerObjectNameJndiName
in class JBossEnterpriseBeanMetaData
protected String getDefaultInvokerJndiName()
JBossEnterpriseBeanMetaData
getDefaultInvokerJndiName
in class JBossEnterpriseBeanMetaData
public boolean isCallByValue()
public void setCallByValue(boolean callByValue)
callByValue
- the callByValue.public boolean isClustered()
public void setClustered(boolean clustered)
clustered
- the clustered.public Boolean isConcurrent()
public void setConcurrent(Boolean concurrent)
concurrent
- the concurrent.public SecurityIdentityMetaData getEjbTimeoutIdentity()
public void setEjbTimeoutIdentity(SecurityIdentityMetaData ejbTimeoutIdentity)
ejbTimeoutIdentity
- the ejbTimeoutIdentity.IllegalArgumentException
- for a null ejbTimeoutIdentitypublic ClusterConfigMetaData getClusterConfig()
public ClusterConfigMetaData determineClusterConfig()
public void setClusterConfig(ClusterConfigMetaData clusterConfig)
clusterConfig
- the clusterConfig.IllegalArgumentException
- for a null clusterConfigpublic PortComponent getPortComponent()
public void setPortComponent(PortComponent portComponent)
public List<LocalBindingMetaData> getLocalBindings()
public void setLocalBindings(List<LocalBindingMetaData> localBindings)
the
- localBindingspublic List<RemoteBindingMetaData> getRemoteBindings()
public void setRemoteBindings(List<RemoteBindingMetaData> remoteBindings)
remoteBinding
- the remoteBinding.IllegalArgumentException
- for a null remoteBindingpublic boolean hasEJB3xView()
public boolean hasEJB2xView()
public void merge(JBossEnterpriseBeanMetaData override, EnterpriseBeanMetaData original, String overridenFile, String overrideFile, boolean mustOverride)
merge
in class JBossEnterpriseBeanMetaData
public void merge(JBossEnterpriseBeanMetaData override, JBossEnterpriseBeanMetaData original)
merge
in class JBossEnterpriseBeanMetaData
protected void merge(JBossGenericBeanMetaData generic)
merge
in class JBossEnterpriseBeanMetaData
public void checkValid()
checkValid
in class JBossEnterpriseBeanMetaData
Copyright © 2016 JBoss by Red Hat. All rights reserved.