public abstract class AbstractGenericBeanMetaData extends AbstractEnterpriseBeanMetaData
Modifier | Constructor and Description |
---|---|
protected |
AbstractGenericBeanMetaData()
Create a new AbstractGenericBeanMetaData.
|
Modifier and Type | Method and Description |
---|---|
void |
addTimer(TimerMetaData timer) |
protected abstract AbstractEnterpriseBeanMetaData |
createMerged(AbstractEnterpriseBeanMetaData original) |
String |
getAbstractSchemaName()
Get the abstractSchemaName.
|
AccessTimeoutMetaData |
getAccessTimeout()
Returns the access timeout metadata applicable at bean level
|
String |
getAcknowledgeMode()
Get the acknowledgeMode.
|
ActivationConfigMetaData |
getActivationConfig()
Get the activationConfig.
|
NamedMethodMetaData |
getAfterBeginMethod() |
NamedMethodMetaData |
getAfterCompletionMethod() |
AroundInvokesMetaData |
getAroundInvokes()
Get the aroundInvokes.
|
AroundTimeoutsMetaData |
getAroundTimeouts() |
AsyncMethodsMetaData |
getAsyncMethods() |
NamedMethodMetaData |
getBeforeCompletionMethod() |
BusinessLocalsMetaData |
getBusinessLocals()
Get the businessLocals.
|
BusinessRemotesMetaData |
getBusinessRemotes()
Get the businessRemotes.
|
CMPFieldsMetaData |
getCmpFields()
Get the cmpFields.
|
String |
getCmpVersion()
Get the cmpVersion.
|
javax.ejb.ConcurrencyManagementType |
getConcurrencyManagementType()
Returns the concurrency management type of this bean
|
ConcurrentMethodsMetaData |
getConcurrentMethods()
Returns a
Map whose key represents a NamedMethodMetaData and whose value
represents ConcurrentMethodMetaData of this bean. |
String[] |
getDependsOn()
Returns the names of one or more Singleton beans in the same application
as the referring Singleton.
|
String |
getHome()
Get the home.
|
InitMethodsMetaData |
getInitMethods()
Get the initMethods.
|
String |
getLocal()
Get the local.
|
EmptyMetaData |
getLocalBean() |
String |
getLocalHome()
Get the localHome.
|
javax.ejb.LockType |
getLockType()
Returns the lock type applicable at the bean level
|
String |
getMessageDestinationLink()
Get the messageDestinationLink.
|
String |
getMessageDestinationType()
Get the messageDestinationType.
|
String |
getMessageSelector()
Get the messageSelector.
|
String |
getMessagingType()
Get the messagingType.
|
PersistenceType |
getPersistenceType()
Get the persistenceType.
|
LifecycleCallbacksMetaData |
getPostActivates()
Get the postActivates.
|
LifecycleCallbacksMetaData |
getPrePassivates()
Get the prePassivates.
|
String |
getPrimKeyClass()
Get the primKeyClass.
|
String |
getPrimKeyField()
Get the primKeyField.
|
QueriesMetaData |
getQueries()
Get the queries.
|
String |
getRemote()
Get the remote.
|
RemoveMethodsMetaData |
getRemoveMethods()
Get the removeMethods.
|
String |
getServiceEndpoint()
Get the serviceEndpoint.
|
SessionType |
getSessionType()
Get the sessionType.
|
StatefulTimeoutMetaData |
getStatefulTimeout() |
SubscriptionDurability |
getSubscriptionDurability()
Get the subscriptionDurability.
|
NamedMethodMetaData |
getTimeoutMethod()
Get the timeoutMethod.
|
List<TimerMetaData> |
getTimers()
Returns the
TimerMetaData associated with this bean |
javax.ejb.TransactionManagementType |
getTransactionType()
Get the transactionType.
|
boolean |
isBMP()
Is this bean managed persistence
|
boolean |
isCMP()
Is this container managed persistence
|
boolean |
isCMP1x()
Whether it is CMP1x
|
Boolean |
isInitOnStartup()
Returns the init-on-startup value of the session bean metadata.
|
boolean |
isJMS()
Is this JMS
|
boolean |
isNoInterfaceBean() |
Boolean |
isPassivationCapable() |
boolean |
isReentrant()
Get the reentrant.
|
boolean |
isSingleton()
Returns true if this is a singleton session bean.
|
boolean |
isStateful()
Is this stateful
|
boolean |
isStateless()
Is this stateless
|
void |
merge(AbstractEnterpriseBeanMetaData eoverride,
AbstractEnterpriseBeanMetaData eoriginal)
Merge two EnterpriseBeanMetaDatas
|
void |
setAbstractSchemaName(String abstractSchemaName)
Set the abstractSchemaName.
|
void |
setAccessTimeout(AccessTimeoutMetaData accessTimeout)
Sets the bean level access timeout metadata
|
void |
setAcknowledgeMode(String acknowledgeMode)
Set the acknowledgeMode.
|
void |
setActivationConfig(ActivationConfigMetaData activationConfig)
Set the activationConfig.
|
void |
setAfterBeginMethod(NamedMethodMetaData method) |
void |
setAfterCompletionMethod(NamedMethodMetaData method) |
void |
setAroundInvokes(AroundInvokesMetaData aroundInvokes)
Set the aroundInvokes.
|
void |
setAroundTimeouts(AroundTimeoutsMetaData aroundTimeouts) |
void |
setAsyncMethods(AsyncMethodsMetaData asyncMethods) |
void |
setBeforeCompletionMethod(NamedMethodMetaData method) |
void |
setBusinessLocals(BusinessLocalsMetaData businessLocals)
Set the businessLocals.
|
void |
setBusinessRemotes(BusinessRemotesMetaData businessRemotes)
Set the businessRemotes.
|
void |
setCmpFields(CMPFieldsMetaData cmpFields)
Set the cmpFields.
|
void |
setCmpVersion(String cmpVersion)
Set the cmpVersion.
|
void |
setConcurrencyManagementType(javax.ejb.ConcurrencyManagementType concurrencyManagementType)
Sets the concurrency management type of this bean
|
void |
setConcurrentMethods(ConcurrentMethodsMetaData concurrentMethods)
Sets the concurrent methods of this bean
|
void |
setDependsOn(Collection<String> dependsOn)
Sets the names of one or more singleton beans, each of which must be initialized before
the referring bean.
|
void |
setDependsOn(String[] dependsOn)
Sets the names of one or more singleton beans, each of which must be initialized before
the referring bean.
|
void |
setDependsOnMetaData(DependsOnMetaData dependsOnMetaData)
Sets the names of one or more singleton beans, each of which must be initialized before
the referring bean.
|
void |
setHome(String home)
Set the home.
|
void |
setInitMethods(InitMethodsMetaData initMethods)
Set the initMethods.
|
void |
setInitOnStartup(Boolean initOnStartup) |
void |
setLocal(String local)
Set the local.
|
void |
setLocalBean(EmptyMetaData localBean)
Set the metadata to represent whether this bean
exposes an no-interface view
|
void |
setLocalHome(String localHome)
Set the localHome.
|
void |
setLockType(javax.ejb.LockType lockType)
Sets the lock type applicable at the bean level
|
void |
setMessageDestinationLink(String messageDestinationLink)
Set the messageDestinationLink.
|
void |
setMessageDestinationType(String messageDestinationType)
Set the messageDestinationType.
|
void |
setMessageDrivenDestination(MessageDrivenDestinationMetaData mdd) |
void |
setMessageSelector(String messageSelector)
Set the messageSelector.
|
void |
setMessagingType(String messagingType)
Set the messagingType.
|
void |
setNoInterfaceBean(boolean isNoInterfaceBean)
Sets the no-interface information in the metadata
|
void |
setPassivationCapable(Boolean passivationCapable) |
void |
setPersistenceType(PersistenceType persistenceType)
Set the persistenceType.
|
void |
setPostActivates(LifecycleCallbacksMetaData postActivates)
Set the postActivates.
|
void |
setPrePassivates(LifecycleCallbacksMetaData prePassivates)
Set the prePassivates.
|
void |
setPrimKeyClass(String primKeyClass)
Set the primKeyClass.
|
void |
setPrimKeyField(String primKeyField)
Set the primKeyField.
|
void |
setQueries(QueriesMetaData queries)
Set the queries.
|
void |
setReentrant(boolean reentrant)
Set the reentrant.
|
void |
setRemote(String remote)
Set the remote.
|
void |
setRemoveMethods(RemoveMethodsMetaData removeMethods)
Set the removeMethods.
|
void |
setServiceEndpoint(String serviceEndpoint)
Set the serviceEndpoint.
|
void |
setSessionType(SessionType sessionType)
Set the sessionType.
|
void |
setStatefulTimeout(StatefulTimeoutMetaData statefulTimeout) |
void |
setSubscriptionDurability(SubscriptionDurability subscriptionDurability)
Set the subscriptionDurability.
|
void |
setTimeoutMethod(NamedMethodMetaData timeoutMethod)
Set the timeoutMethod.
|
void |
setTimers(List<TimerMetaData> timers)
Sets the
TimerMetaData for this bean |
void |
setTransactionType(javax.ejb.TransactionManagementType transactionType)
Set the transactionType.
|
augment, getAdministeredObjectByName, getAdministeredObjects, getAnnotatedEjbReferences, getAssemblyDescriptor, getConnectionFactories, getConnectionFactoryByName, getContainerTransactions, getDataSourceByName, getDataSources, getEjbClass, getEjbJarMetaData, getEjbJarVersion, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEjbType, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getJmsConnectionFactories, getJmsConnectionFactoryByName, getJmsDestinationByName, getJmsDestinations, getJndiEnvironmentRefsGroup, getMailSessionByName, getMailSessions, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getMethodTransactionType, getPersistenceContextReferenceByName, getPersistenceContextRefs, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getSecurityIdentity, getSecurityRoleRefs, getServiceReferenceByName, getServiceReferences, isBMT, isCMT, isEntity, isMessageDriven, isSession, merged, newBean, override, setEjbClass, setEjbName, setEjbType, setEnterpriseBeansMetaData, setEnvironmentRefsGroup, setJndiEnvironmentRefsGroup, setMappedName, setSecurityIdentity, setSecurityRoleRefs
getDescriptionGroup, setDescriptionGroup
equals, getKey, getName, hashCode, setName, toString
clone, getId, setId
finalize, getClass, notify, notifyAll, wait, wait, wait
getDescriptionGroup, getName
getId, setId
getDescriptionGroup, getId, setDescriptionGroup
getKey
protected AbstractGenericBeanMetaData()
protected abstract AbstractEnterpriseBeanMetaData createMerged(AbstractEnterpriseBeanMetaData original)
createMerged
in class AbstractEnterpriseBeanMetaData
public String getMessagingType()
public boolean isJMS()
public void setMessagingType(String messagingType)
messagingType
- the messagingType.IllegalArgumentException
- for a null messagingTypepublic String getMessageDestinationType()
public void setMessageDestinationType(String messageDestinationType)
messageDestinationType
- the messageDestinationType.IllegalArgumentException
- for a null messageDestinationTypepublic String getMessageDestinationLink()
public void setMessageDestinationLink(String messageDestinationLink)
messageDestinationLink
- the messageDestinationLink.IllegalArgumentException
- for a null messageDestinationLinkpublic ActivationConfigMetaData getActivationConfig()
public void setActivationConfig(ActivationConfigMetaData activationConfig)
activationConfig
- the activationConfig.IllegalArgumentException
- for a null activationConfigpublic String getMessageSelector()
public void setMessageSelector(String messageSelector)
messageSelector
- the messageSelector.IllegalArgumentException
- for a null messageSelectorpublic String getAcknowledgeMode()
public void setAcknowledgeMode(String acknowledgeMode)
acknowledgeMode
- the acknowledgeMode.IllegalArgumentException
- for a null acknowledgeModepublic SubscriptionDurability getSubscriptionDurability()
public void setSubscriptionDurability(SubscriptionDurability subscriptionDurability)
subscriptionDurability
- the subscriptionDurability.IllegalArgumentException
- for a null subscriptionDurabilitypublic void setMessageDrivenDestination(MessageDrivenDestinationMetaData mdd)
public String getHome()
public void setHome(String home)
home
- the home.IllegalArgumentException
- for a null homepublic 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 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 void setTimeoutMethod(NamedMethodMetaData timeoutMethod)
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 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 void merge(AbstractEnterpriseBeanMetaData eoverride, AbstractEnterpriseBeanMetaData eoriginal)
AbstractEnterpriseBeanMetaData
public Boolean isInitOnStartup()
public void setInitOnStartup(Boolean initOnStartup)
public AsyncMethodsMetaData getAsyncMethods()
public void setAsyncMethods(AsyncMethodsMetaData asyncMethods)
public EmptyMetaData getLocalBean()
EmptyMetaData
if the bean represents a no-interface
bean. Else returns null.
Use the isNoInterfaceBean()
API which is more intuitive.SessionBean31MetaData.isNoInterfaceBean()
public void setLocalBean(EmptyMetaData localBean)
isNoInterfaceBean
- True if the bean exposes a no-interface
view. Else set to false.public boolean isNoInterfaceBean()
getLocalBean()
, but
is more intuitivepublic void setNoInterfaceBean(boolean isNoInterfaceBean)
isNoInterfaceBean
- True if this is a no-interface bean, false otherwisepublic boolean isSingleton()
public void setConcurrencyManagementType(javax.ejb.ConcurrencyManagementType concurrencyManagementType)
concurrencyManagementType
- The concurrency management typeIf
- the passed concurrencyManagementType
is nullpublic javax.ejb.ConcurrencyManagementType getConcurrencyManagementType()
public void setConcurrentMethods(ConcurrentMethodsMetaData concurrentMethods)
concurrentMethods
- IllegalArgumentException
- If the passed concurrentMethods
is nullpublic ConcurrentMethodsMetaData getConcurrentMethods()
Map
whose key represents a NamedMethodMetaData
and whose value
represents ConcurrentMethodMetaData
of this bean. Returns an empty Map
if
there are no concurrent methods for this beanpublic void setLockType(javax.ejb.LockType lockType)
lockType
- LockType
public javax.ejb.LockType getLockType()
public void setAccessTimeout(AccessTimeoutMetaData accessTimeout)
accessTimeout
- AccessTimeoutMetaData
public AccessTimeoutMetaData getAccessTimeout()
public String[] getDependsOn()
public void setDependsOn(String[] dependsOn)
dependsOn
- The singleton bean dependenciespublic void setDependsOnMetaData(DependsOnMetaData dependsOnMetaData)
dependsOn
- The singleton bean dependenciespublic void setDependsOn(Collection<String> dependsOn)
dependsOn
- The singleton bean dependenciespublic NamedMethodMetaData getAfterBeginMethod()
public void setAfterBeginMethod(NamedMethodMetaData method)
public NamedMethodMetaData getBeforeCompletionMethod()
public void setBeforeCompletionMethod(NamedMethodMetaData method)
public NamedMethodMetaData getAfterCompletionMethod()
public void setAfterCompletionMethod(NamedMethodMetaData method)
public StatefulTimeoutMetaData getStatefulTimeout()
public void setStatefulTimeout(StatefulTimeoutMetaData statefulTimeout)
public boolean isCMP()
public boolean isBMP()
public PersistenceType getPersistenceType()
public void setPersistenceType(PersistenceType persistenceType)
persistenceType
- the persistenceType.IllegalArgumentException
- for a null persistenceTypepublic String getPrimKeyClass()
public void setPrimKeyClass(String primKeyClass)
primKeyClass
- the primKeyClass.IllegalArgumentException
- for a null primKeyClasspublic boolean isReentrant()
public void setReentrant(boolean reentrant)
reentrant
- the reentrant.public boolean isCMP1x()
public String getCmpVersion()
public void setCmpVersion(String cmpVersion)
cmpVersion
- the cmpVersion.IllegalArgumentException
- for a null cmpVersionpublic String getAbstractSchemaName()
public void setAbstractSchemaName(String abstractSchemaName)
abstractSchemaName
- the abstractSchemaName.IllegalArgumentException
- for a null abstractSchemaNamepublic String getPrimKeyField()
public void setPrimKeyField(String primKeyField)
primKeyField
- the primKeyField.IllegalArgumentException
- for a null primKeyFieldpublic CMPFieldsMetaData getCmpFields()
public void setCmpFields(CMPFieldsMetaData cmpFields)
cmpFields
- the cmpFields.IllegalArgumentException
- for a null cmpFieldspublic QueriesMetaData getQueries()
public void setQueries(QueriesMetaData queries)
queries
- the queries.IllegalArgumentException
- for a null queriespublic void setPassivationCapable(Boolean passivationCapable)
public Boolean isPassivationCapable()
public AroundInvokesMetaData getAroundInvokes()
public void setAroundInvokes(AroundInvokesMetaData aroundInvokes)
aroundInvokes
- the aroundInvokes.IllegalArgumentException
- for a null aroundInvokespublic NamedMethodMetaData getTimeoutMethod()
public javax.ejb.TransactionManagementType getTransactionType()
AbstractEnterpriseBeanMetaData
getTransactionType
in interface IEnterpriseBeanMetaData<AssemblyDescriptorMetaData,EnterpriseBeansMetaData,AbstractEnterpriseBeanMetaData,EjbJarMetaData>
getTransactionType
in interface EnterpriseBeanMetaData
getTransactionType
in class AbstractEnterpriseBeanMetaData
public void setTransactionType(javax.ejb.TransactionManagementType transactionType)
transactionType
- the transactionType.IllegalArgumentException
- for a null transactionTypepublic AroundTimeoutsMetaData getAroundTimeouts()
public void setAroundTimeouts(AroundTimeoutsMetaData aroundTimeouts)
public List<TimerMetaData> getTimers()
TimerMetaData
associated with this beanpublic void setTimers(List<TimerMetaData> timers)
TimerMetaData
for this beanpublic void addTimer(TimerMetaData timer)
Copyright © 2017 JBoss by Red Hat. All rights reserved.