|
||||||||||
| 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 IEjbJarMethodMetadata<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>>
Interface of the Method Metadata for EJB.
| Method Summary | |
|---|---|
IJInterceptors |
getAnnotationInterceptors()
|
List<? extends IJClassInterceptor> |
getGlobalEasyBeansInterceptors()
|
javax.ejb.Remove |
getJRemove()
|
String |
getMethodName()
|
List<String> |
getRolesAllowed()
|
TransactionAttributeLevel |
getTransactionAttributeLevel()
|
javax.ejb.TransactionAttributeType |
getTransactionAttributeType()
|
Map<InterceptorType,List<? extends IJClassInterceptor>> |
getUserEasyBeansInterceptors()
|
boolean |
hasDenyAll()
|
boolean |
hasPermitAll()
|
boolean |
isAfterBegin()
|
boolean |
isAfterCompletion()
|
boolean |
isAroundInvoke()
|
boolean |
isBeforeCompletion()
|
boolean |
isBusinessMethod()
|
boolean |
isExcludedClassInterceptors()
|
boolean |
isExcludedDefaultInterceptors()
|
boolean |
isLifeCycleMethod()
|
boolean |
isPostActivate()
|
boolean |
isPrePassivate()
|
boolean |
isTimeout()
|
void |
setAfterBegin()
Sets true if method is an afterBegin method. |
void |
setAfterCompletion()
Sets true if method is an AfterCompletion method. |
void |
setAnnotationsInterceptors(IJInterceptors annotationInterceptors)
Sets the object representing the @ javax.interceptor.Interceptors annotation. |
void |
setAroundInvoke(boolean aroundInvoke)
Sets true if method has @ javax.interceptor.AroundInvoke. |
void |
setBeforeCompletion()
Sets true if method is an beforeCompletion method. |
void |
setBusinessMethod(boolean flag)
This method is a business method. |
void |
setDenyAll(boolean denyAll)
This method has DenyAll annotation. |
void |
setExcludeClassInterceptors(boolean excludeClassInterceptors)
Flag this method as a method which exclude user interceptors. |
void |
setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
Flag this class as a class which exclude default interceptors. |
void |
setGlobalEasyBeansInterceptors(List<? extends IJClassInterceptor> globalEasyBeansInterceptors)
Sets the list of global interceptors that enhancers will use. |
void |
setPermitAll(boolean permitAll)
This method has PermitAll annotation. |
void |
setPostActivate(boolean postActivate)
Sets true if method has @ PostActivate. |
void |
setPrePassivate(boolean prePassivate)
Sets true if method has @ PrePassivate. |
void |
setRemove(javax.ejb.Remove remove)
Sets @ Remove attribute. |
void |
setRolesAllowed(List<String> rolesAllowed)
Set the list of roles allowed on this class/method. |
void |
setTimeout(boolean timeout)
Sets true if method has @ Timeout. |
void |
setTransactionAttributeLevel(TransactionAttributeLevel transactionAttributeLevel)
Sets Transaction Attribute Level. |
void |
setTransactionAttributeType(javax.ejb.TransactionAttributeType transactionAttributeType)
Sets Transaction Attribute Type. |
void |
setUserInterceptors(Map<InterceptorType,List<? extends IJClassInterceptor>> userInterceptors)
Sets the list of user interceptors that enhancers will use. These interceptors are defined in bean class. |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.ICommonMethodMetadata |
|---|
isPostConstruct, isPreDestroy, setPostConstruct, setPreDestroy |
| 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.scan.api.metadata.IMethodMetadata |
|---|
getClassMetadata, getJMethod, setClassMetadata, setJMethod |
| Methods inherited from interface org.ow2.util.ee.metadata.ejbjar.api.ILock |
|---|
getLockType, setLockType |
| 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.IEjbSchedule |
|---|
addJavaxEjbSchedule, getJavaxEjbSchedules, setJavaxEjbSchedules |
| Methods inherited from interface org.ow2.util.ee.metadata.common.api.interfaces.IWebMethod |
|---|
getJavaxJwsWebMethod, setJavaxJwsWebMethod |
| Method Detail |
|---|
String getMethodName()
javax.ejb.TransactionAttributeType getTransactionAttributeType()
getTransactionAttributeType in interface ITransactionAttributeTransactionAttributeTypevoid setTransactionAttributeLevel(TransactionAttributeLevel transactionAttributeLevel)
transactionAttributeLevel - the level of transaction.TransactionAttributeLevel getTransactionAttributeLevel()
void setTransactionAttributeType(javax.ejb.TransactionAttributeType transactionAttributeType)
setTransactionAttributeType in interface ITransactionAttributetransactionAttributeType - the type of transaction.TransactionAttributeTypeboolean isBusinessMethod()
void setBusinessMethod(boolean flag)
flag - true/false if method is a business method.boolean isLifeCycleMethod()
javax.ejb.Remove getJRemove()
Remove attributesvoid setRemove(javax.ejb.Remove remove)
Remove attribute.
remove - contains the attribute with retainIfException.boolean isPostActivate()
PostActivatevoid setPostActivate(boolean postActivate)
PostActivate.
postActivate - true/false.boolean isPrePassivate()
PrePassivate.void setPrePassivate(boolean prePassivate)
PrePassivate.
prePassivate - true/false.boolean isTimeout()
Timeout.void setTimeout(boolean timeout)
Timeout.
timeout - true/false.boolean isAroundInvoke()
javax.interceptor.AroundInvoke.void setAroundInvoke(boolean aroundInvoke)
javax.interceptor.AroundInvoke.
aroundInvoke - true/falseboolean isExcludedClassInterceptors()
void setExcludeClassInterceptors(boolean excludeClassInterceptors)
excludeClassInterceptors - true if this method is a method which exclude user interceptors.IJInterceptors getAnnotationInterceptors()
javax.interceptor.Interceptors.void setAnnotationsInterceptors(IJInterceptors annotationInterceptors)
javax.interceptor.Interceptors annotation.
setAnnotationsInterceptors in interface IEJBInterceptorsannotationInterceptors - list of classesMap<InterceptorType,List<? extends IJClassInterceptor>> getUserEasyBeansInterceptors()
void setUserInterceptors(Map<InterceptorType,List<? extends IJClassInterceptor>> userInterceptors)
userInterceptors - 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.void 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 IAnnotationSecurityPermitAllvoid setDenyAll(boolean denyAll)
denyAll - the boolean value.boolean hasDenyAll()
boolean isExcludedDefaultInterceptors()
isExcludedDefaultInterceptors in interface IInterceptorExcludeDefaultInterceptorsvoid setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
setExcludeDefaultInterceptors in interface IInterceptorExcludeDefaultInterceptorsexcludeDefaultInterceptors - true if this class is a class which exclude default interceptors.boolean isAfterBegin()
void setAfterBegin()
boolean isAfterCompletion()
void setAfterCompletion()
boolean isBeforeCompletion()
void setBeforeCompletion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||