|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
E - an implementation of EJBDeployableD - an implementation of IEjbJarDeployableMetadataC - an implementation of IEjbJarClassMetadataM - an implementation of IEjbJarMethodMetadataF - an implementation of IEjbJarFieldMetadatapublic interface IEjbJarClassMetadata<E extends EJBDeployable<E>,D extends IEjbJarDeployableMetadata<E,D,C,M,F>,C extends IEjbJarClassMetadata<E,D,C,M,F>,M extends IEjbJarMethodMetadata<E,D,C,M,F>,F extends IEjbJarFieldMetadata<E,D,C,M,F>>
IEjbJarClassMetadata.
| Method Summary | |
|---|---|
IJInterceptors |
getAnnotationInterceptors()
|
IApplicationException |
getApplicationException()
|
String |
getClassName()
|
IConcurrencyManagementType |
getConcurrencyManagementType()
|
List<String> |
getDeclareRoles()
|
IDependsOn |
getDependsOn()
|
D |
getEjbJarDeployableMetadata()
|
Map<InterceptorType,List<? extends IJClassInterceptor>> |
getExternalUserEasyBeansInterceptors()
|
List<? extends IJClassInterceptor> |
getGlobalEasyBeansInterceptors()
|
String[] |
getInterfaces()
|
Map<InterceptorType,List<? extends IJClassInterceptor>> |
getInternalUserEasyBeansInterceptors()
|
IJCommonBean |
getJCommonBean()
|
IJMessageDriven |
getJMessageDriven()
|
IJSingleton |
getJSingleton()
|
IJStateful |
getJStateful()
|
IJStateless |
getJStateless()
|
String |
getLinkedBean()
|
C |
getLinkedClassMetadata(String className)
Get a classmetadata linked from this one. |
String |
getLocalHome()
|
IJLocal |
getLocalInterfaces()
|
String |
getRemoteHome()
|
String |
getRemoteInterface()
|
IJRemote |
getRemoteInterfaces()
|
List<String> |
getRolesAllowed()
|
List<ISecurityRoleRef> |
getSecurityRoleRefList()
Gets the list of <security-role-ref> elements. |
String |
getSuperName()
|
javax.ejb.TransactionAttributeType |
getTransactionAttributeType()
|
javax.ejb.TransactionManagementType |
getTransactionManagementType()
|
boolean |
hasPermitAll()
|
boolean |
hasSessionSynchronization()
|
boolean |
isBean()
|
boolean |
isExcludedDefaultInterceptors()
|
boolean |
isLocalBean()
|
boolean |
isMdb()
|
boolean |
isOrderedInterceptors()
|
boolean |
isSession()
|
boolean |
isSingleton()
|
boolean |
isStartup()
|
boolean |
isStateful()
|
boolean |
isStateless()
|
void |
setAnnotationsInterceptors(IJInterceptors annotationInterceptors)
Sets the object representing the @ javax.interceptor.Interceptors annotation. |
void |
setApplicationException(IApplicationException applicationException)
Sets the object representing the @ ApplicationException annotation. |
void |
setClassType(ClassType cType)
Sets the type of this class. |
void |
setConcurrencyManagementType(IConcurrencyManagementType concurrencyManagementType)
Sets concurrency management type. |
void |
setDeclareRoles(List<String> declareRoles)
Sets the list of roles declared on this class. |
void |
setDependsOn(IDependsOn dependsOn)
Sets the object representing the @ javax.ejb.DependsOn annotation. |
void |
setEjbJarArchiveMetadata(D ejbJarArchiveMetadata)
Set the deployable metadata. |
void |
setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
Flag this class as a class which exclude default interceptors. |
void |
setExternalUserInterceptors(Map<InterceptorType,List<? extends IJClassInterceptor>> externalUserInterceptors)
Sets the list of user interceptors that enhancers will use. These interceptors are defined outside the bean class (interceptor classes). |
void |
setGlobalEasyBeansInterceptors(List<? extends IJClassInterceptor> globalEasyBeansInterceptors)
Sets the list of global interceptors that enhancers will use. |
void |
setInterfaces(String[] array)
construct a new JClass. |
void |
setInternalUserInterceptors(Map<InterceptorType,List<? extends IJClassInterceptor>> internalUserInterceptors)
Sets the list of user interceptors that enhancers will use. These interceptors are defined in bean class. |
void |
setJCommonBean(IJCommonBean commonBean)
Sets the attributes for a Stateless/Stateful/MDB. |
void |
setJMessageDriven(IJMessageDriven messageDriven)
Sets the message driven bean object. |
void |
setJSingleton(IJSingleton jSingleton)
Sets the attributes for a Singleton. |
void |
setJStateful(IJStateful jStateful)
Sets the attributes for a Stateful. |
void |
setJStateless(IJStateless jStateless)
Sets the attributes for a Stateless. |
void |
setLinkedBean(String linkedBeanName)
This class is linked to the given bean. |
void |
setLocalBean(boolean isLocalBean)
Defines if the bean is a local bean or not. |
void |
setLocalHome(String localHome)
Sets the @ LocalHome class name. |
void |
setLocalInterfaces(IJLocal jLocal)
Sets the local interfaces of this class. |
void |
setModified()
Defines that this class has been modified. |
void |
setOrderedInterceptors(boolean orderedInterceptors)
Sets flag to true if interceptors are ordered. |
void |
setPermitAll(boolean permitAll)
This class has PermitAll annotation. |
void |
setRemoteHome(String remoteHome)
Sets the @ RemoteHome class name. |
void |
setRemoteInterface(String remoteInterface)
Set the value of the remote Interface property. |
void |
setRemoteInterfaces(IJRemote jRemote)
Sets the remote interfaces of this class. |
void |
setRolesAllowed(List<String> rolesAllowed)
Set the list of roles allowed on this class/method. |
void |
setSecurityRoleRefList(List<ISecurityRoleRef> securityRoleRefList)
Sets the list of <security-role-ref> element. |
void |
setSessionSynchronization()
This bean is linked to a session synchronization and then should report TX lifecycle to the callbacks. |
void |
setStartup(boolean startup)
This class needs eager initialization. |
void |
setTransactionAttributeType(javax.ejb.TransactionAttributeType transactionAttributeType)
Set Transaction Attribute Type. |
void |
setTransactionManagementType(javax.ejb.TransactionManagementType transactionManagementType)
Sets transaction management type. |
boolean |
wasModified()
|
| Methods inherited from interface org.ow2.util.ee.metadata.ejbjar.api.ILock |
|---|
getLockType, setLockType |
| Methods inherited from interface org.ow2.util.scan.api.metadata.IClassMetadata |
|---|
addStandardFieldMetadata, addStandardMethodMetadata, getJClass, getStandardFieldMetadata, getStandardFieldMetadataCollection, getStandardMethodMetadata, getStandardMethodMetadataCollection, searchStandardFieldMetadata, searchStandardMethodMetadata, setJClass |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IEjbEJB |
|---|
getJEjbEJB, setJEjbEJB |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IAnnotationResource |
|---|
getJAnnotationResource, setJAnnotationResource |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IPersistenceContext |
|---|
getJavaxPersistenceContext, isPersistenceContext, setJavaxPersistenceContext |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IPersistenceUnit |
|---|
getJavaxPersistenceUnit, isPersistenceUnit, setJavaxPersistenceUnit |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IWebServiceRef |
|---|
getJaxwsWebServiceRef, setJaxwsWebServiceRef |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IHandlerChain |
|---|
getJwsHandlerChain, setJwsHandlerChain |
| Methods inherited from interface org.ow2.util.ee.metadata.ws.api.interfaces.IWebService |
|---|
getWebServiceMarker, setWebServiceMarker |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IEnvEntryAccess |
|---|
getEnvEntryCollection, setEnvEntryCollection |
| Methods inherited from interface org.ow2.util.ee.metadata.ejbjar.api.interfaces.IEjbAccessTimeout |
|---|
getJavaxEjbAccessTimeout, setJavaxEjbAccessTimeout |
| Methods inherited from interface org.ow2.util.ee.metadata.ejbjar.api.interfaces.IEjbStatefulTimeout |
|---|
getJavaxEjbStatefulTimeout, setJavaxEjbStatefulTimeout |
| Method Detail |
|---|
String getClassName()
void setLocalInterfaces(IJLocal jLocal)
jLocal - list of interfaces.void setRemoteInterfaces(IJRemote jRemote)
jRemote - list of interfaces.IJLocal getLocalInterfaces()
IJRemote getRemoteInterfaces()
boolean isStateless()
boolean isSingleton()
boolean isStateful()
boolean isSession()
boolean isMdb()
boolean isLocalBean()
void setLocalBean(boolean isLocalBean)
isLocalBean - true if the bean is a local bean (and expose a no-interface local view)void setClassType(ClassType cType)
cType - a type from enum class ClassType.org.ow2.easybeans.deployment.annotations.ClassTypeIJMessageDriven getJMessageDriven()
void setJMessageDriven(IJMessageDriven messageDriven)
messageDriven - attributes of message driven bean.String getRemoteHome()
RemoteHome class name.void setRemoteHome(String remoteHome)
RemoteHome class name.
remoteHome - the class name.String getLocalHome()
LocalHome class name.void setLocalHome(String localHome)
LocalHome class name.
localHome - the class name.javax.ejb.TransactionManagementType getTransactionManagementType()
void setTransactionManagementType(javax.ejb.TransactionManagementType transactionManagementType)
transactionManagementType - value.
(BEAN, CONTAINER)TransactionManagementTypeIConcurrencyManagementType getConcurrencyManagementType()
javax.ejb.ConcurrencyManagementType.void setConcurrencyManagementType(IConcurrencyManagementType concurrencyManagementType)
concurrencyManagementType - value.
BEAN,CONCURRENCY_NOT_ALLOWED, CONTAINERjavax.ejb.ConcurrencyManagementTypejavax.ejb.TransactionAttributeType getTransactionAttributeType()
getTransactionAttributeType in interface ITransactionAttributeTransactionAttributeTypevoid setTransactionAttributeType(javax.ejb.TransactionAttributeType transactionAttributeType)
setTransactionAttributeType in interface ITransactionAttributetransactionAttributeType - the type of transaction.TransactionAttributeTypeIJInterceptors getAnnotationInterceptors()
javax.interceptor.Interceptors.void setAnnotationsInterceptors(IJInterceptors annotationInterceptors)
javax.interceptor.Interceptors annotation.
setAnnotationsInterceptors in interface IEJBInterceptorsannotationInterceptors - list of classesIApplicationException getApplicationException()
ApplicationException annotation.void setApplicationException(IApplicationException applicationException)
ApplicationException annotation.
applicationException - object representationboolean isBean()
String[] getInterfaces()
String getSuperName()
Map<InterceptorType,List<? extends IJClassInterceptor>> getExternalUserEasyBeansInterceptors()
void setExternalUserInterceptors(Map<InterceptorType,List<? extends IJClassInterceptor>> externalUserInterceptors)
externalUserInterceptors - list of interceptors that enhancer will use.Map<InterceptorType,List<? extends IJClassInterceptor>> getInternalUserEasyBeansInterceptors()
void setInternalUserInterceptors(Map<InterceptorType,List<? extends IJClassInterceptor>> internalUserInterceptors)
internalUserInterceptors - list of interceptors that enhancer will use.List<? extends IJClassInterceptor> getGlobalEasyBeansInterceptors()
void setGlobalEasyBeansInterceptors(List<? extends IJClassInterceptor> globalEasyBeansInterceptors)
globalEasyBeansInterceptors - list of interceptors that enhancer will use.IJCommonBean getJCommonBean()
void setJCommonBean(IJCommonBean commonBean)
commonBean - the attributesIJStateful getJStateful()
void setJStateful(IJStateful jStateful)
jStateful - the attributesIJStateless getJStateless()
void setJStateless(IJStateless jStateless)
jStateless - the attributesIJSingleton getJSingleton()
void setJSingleton(IJSingleton jSingleton)
jSingleton - the attributesboolean wasModified()
void setModified()
void setDeclareRoles(List<String> declareRoles)
declareRoles - the list of roles.List<String> getDeclareRoles()
List<ISecurityRoleRef> getSecurityRoleRefList()
void setSecurityRoleRefList(List<ISecurityRoleRef> securityRoleRefList)
securityRoleRefList - the list of <security-role-ref> elementvoid setRolesAllowed(List<String> rolesAllowed)
setRolesAllowed in interface IAnnotationSecurityRolesAllowedrolesAllowed - the list of roles.List<String> getRolesAllowed()
getRolesAllowed in interface IAnnotationSecurityRolesAllowedvoid setPermitAll(boolean permitAll)
setPermitAll in interface IAnnotationSecurityPermitAllpermitAll - the boolean value.boolean hasPermitAll()
hasPermitAll in interface IAnnotationSecurityPermitAllboolean isExcludedDefaultInterceptors()
isExcludedDefaultInterceptors in interface IInterceptorExcludeDefaultInterceptorsvoid setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
setExcludeDefaultInterceptors in interface IInterceptorExcludeDefaultInterceptorsexcludeDefaultInterceptors - true if this class is a class which exclude default interceptors.boolean isOrderedInterceptors()
void setOrderedInterceptors(boolean orderedInterceptors)
orderedInterceptors - boolean with true/false.void setRemoteInterface(String remoteInterface)
remoteInterface - the remote Interface property.String getRemoteInterface()
void setInterfaces(String[] array)
array - interface listD getEjbJarDeployableMetadata()
void setEjbJarArchiveMetadata(D ejbJarArchiveMetadata)
ejbJarArchiveMetadata - the given deployable metadataString getLinkedBean()
void setLinkedBean(String linkedBeanName)
linkedBeanName - the bean nameC getLinkedClassMetadata(String className)
className - the name of the class that is wanted
void setStartup(boolean startup)
startup - the boolean value.boolean isStartup()
IDependsOn getDependsOn()
javax.interceptor.DependsOn.void setDependsOn(IDependsOn dependsOn)
javax.ejb.DependsOn annotation.
dependsOn - list of beansvoid setSessionSynchronization()
boolean hasSessionSynchronization()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||