public class EjbSessionBean<X> extends EjbBean<X>
DescriptionGroupConfig.Icon
_isContainerTransaction, _jClassLoader, _localList, _remoteList
Constructor and Description |
---|
EjbSessionBean(EjbConfig ejbConfig,
AnnotatedType<X> rawAnnType,
AnnotatedType<X> annType,
java.lang.String ejbModuleName)
Creates a new session bean configuration.
|
Modifier and Type | Method and Description |
---|---|
AbstractSessionManager<X> |
deployServer(EjbManager ejbContainer,
EjbLazyGenerator<X> lazyGenerator)
Deploys the bean.
|
protected void |
fillClassDefaults() |
protected java.lang.String |
getBeanType() |
java.lang.String |
getEJBKind()
Returns the kind of bean.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getSessionType()
Gets the session bean type.
|
void |
init()
Configure initialization.
|
void |
initIntrospect()
Obtain and apply initialization from annotations.
|
boolean |
isContainerTransaction()
Returns true if the container handles transactions.
|
void |
setEJBClass(java.lang.Class<X> type)
Sets the ejb implementation class.
|
void |
setTransactionType(java.lang.String type)
Set true if the container handles transactions.
|
addAfterBeginMethod, addAsyncMethod, addBeanDependency, addBeforeCompletionMethod, addBuilderProgram, addBusinessLocal, addBusinessRemote, addConcurrentMethod, addDepend, addDependency, addDependency, addDependencyList, addInitProgram, addInterceptor, addLocal, addLocalType, addLocalWrapper, addMethod, addPostConstruct, addRemote, addRemoteType, addRemoteWrapper, addRemoveMethod, classHasMethod, createBeanGenerator, createDataSource, createEjbLocalRef, createEjbRef, createEnvEntry, createMessageDestinationRef, createMethod, createResourceEnvRef, createResourceRef, error, error, findFirstCreateMethod, findMethod, getAnnotatedType, getBeanDependList, getCdiManager, getClassLoader, getClassName, getConfig, getDependList, getEJBClass, getEJBClassName, getEjbContainer, getEJBFullClassName, getEJBModuleName, getEJBName, getFilename, getFullImplName, getFullMethodName, getFullMethodName, getInitProgram, getInjectionTarget, getJar, getLine, getLocalBean, getLocalList, getLocation, getMappedName, getMethod, getMethod, getMethod, getMethodList, getMethodPattern, getModuleName, getRawAnnotatedType, getRemoteList, getResourceList, getServerProgram, getShortClassName, getSkeletonName, getTimeoutMethodName, getTransactionTimeout, introspect, introspectBean, isAllowPOJO, isCMP, isCMP1, isMatch, loadClass, setAllowPOJO, setAroundInvoke, setConcurrencyManagementType, setConfigLocation, setContainerTransaction, setEJBClassWrapper, setEJBName, setInit, setInjectionTarget, setJar, setLocalBean, setLocation, setMappedName, setSecurityIdentity, setStatefulTimeout, setTransactionTimeout, toString, validateException, validateExceptions, validateExceptions, validateLocal, validateRemote
createIcon, getDisplayName, setDescription, setDisplayName, setId
public EjbSessionBean(EjbConfig ejbConfig, AnnotatedType<X> rawAnnType, AnnotatedType<X> annType, java.lang.String ejbModuleName)
public java.lang.String getEJBKind()
getEJBKind
in class EjbBean<X>
public void setEJBClass(java.lang.Class<X> type) throws ConfigException
setEJBClass
in class EjbBean<X>
ConfigException
public java.lang.Class<? extends java.lang.annotation.Annotation> getSessionType()
public boolean isContainerTransaction()
isContainerTransaction
in class EjbBean<X>
public void setTransactionType(java.lang.String type) throws ConfigException
ConfigException
@PostConstruct public void init() throws ConfigException
init
in class EjbBean<X>
ConfigException
protected void fillClassDefaults()
public void initIntrospect() throws ConfigException
initIntrospect
in class EjbBean<X>
ConfigException
public AbstractSessionManager<X> deployServer(EjbManager ejbContainer, EjbLazyGenerator<X> lazyGenerator) throws java.lang.ClassNotFoundException, ConfigException
deployServer
in class EjbBean<X>
java.lang.ClassNotFoundException
ConfigException
protected java.lang.String getBeanType()
getBeanType
in class EjbBean<X>