|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.types.DescriptionGroupConfig
com.caucho.ejb.cfg.EjbBean<X>
com.caucho.ejb.cfg.EjbSessionBean<X>
public class EjbSessionBean<X>
Configuration for an ejb entity bean.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.caucho.config.types.DescriptionGroupConfig |
---|
DescriptionGroupConfig.Icon |
Field Summary |
---|
Fields inherited from class com.caucho.ejb.cfg.EjbBean |
---|
_isContainerTransaction, _jClassLoader, _localList, _remoteList |
Constructor Summary | |
---|---|
EjbSessionBean(EjbConfig ejbConfig,
AnnotatedType<X> rawAnnType,
AnnotatedType<X> annType,
java.lang.String ejbModuleName)
Creates a new session bean configuration. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.caucho.config.types.DescriptionGroupConfig |
---|
createIcon, getDisplayName, setDescription, setDisplayName, setId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EjbSessionBean(EjbConfig ejbConfig, AnnotatedType<X> rawAnnType, AnnotatedType<X> annType, java.lang.String ejbModuleName)
Method Detail |
---|
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |