|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.scan.api.metadata.CommonMetadata
org.ow2.util.scan.api.metadata.MethodMetadata<C,M,F>
org.ow2.util.ee.metadata.common.impl.CommonMethodMetadata<C,M,F>
org.ow2.util.ee.metadata.ejbjar.impl.EjbJarMethodMetadata<org.ow2.util.ee.deploy.api.deployable.EJB3Deployable,EjbJarArchiveMetadata,EasyBeansEjbJarClassMetadata,EasyBeansEjbJarMethodMetadata,EasyBeansEjbJarFieldMetadata>
org.ow2.easybeans.deployment.metadata.ejbjar.EasyBeansEjbJarMethodMetadata
public class EasyBeansEjbJarMethodMetadata
This class represents the annotation metadata of a method.
| Constructor Summary | |
|---|---|
EasyBeansEjbJarMethodMetadata(org.ow2.util.scan.api.metadata.structures.JMethod jMethod,
EasyBeansEjbJarClassMetadata classAnnotationMetadata)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
java.util.List<? extends org.ow2.util.ee.metadata.ejbjar.api.IJClassInterceptor> |
getInterceptors()
|
java.lang.String |
getMethodName()
Override because org.ow2.easybeans.enhancer.interceptors.InterceptorClassAdapter
use it. |
EasyBeansEjbJarClassMetadata |
getOriginalClassMetadata()
|
boolean |
isIgnored()
|
boolean |
isInherited()
|
void |
setIgnored(boolean ignored)
Specify if the method will be ignored or not. |
void |
setInherited(boolean inherited,
EasyBeansEjbJarClassMetadata originalClassMetadata)
Sets the inheritance of this method. |
void |
setInterceptors(java.util.List<? extends org.ow2.util.ee.metadata.ejbjar.api.IJClassInterceptor> interceptors)
Sets the list of interceptors(tx, security, etc) that enhancers will use. These interceptors are defined per methods. |
| Methods inherited from class org.ow2.util.ee.metadata.ejbjar.impl.EjbJarMethodMetadata |
|---|
getAnnotationInterceptors, getGlobalEasyBeansInterceptors, getJavaxJwsWebMethod, getJRemove, getLockType, getRolesAllowed, getTransactionAttributeLevel, getTransactionAttributeType, getUserEasyBeansInterceptors, hasDenyAll, hasPermitAll, isAroundInvoke, isBusinessMethod, isExcludedClassInterceptors, isExcludedDefaultInterceptors, isLifeCycleMethod, isPostActivate, isPrePassivate, isTimeout, setAnnotationsInterceptors, setAroundInvoke, setBusinessMethod, setDenyAll, setExcludeClassInterceptors, setExcludeDefaultInterceptors, setGlobalEasyBeansInterceptors, setJavaxJwsWebMethod, setLockType, setPermitAll, setPostActivate, setPrePassivate, setRemove, setRolesAllowed, setTimeout, setTransactionAttributeLevel, setTransactionAttributeType, setUserInterceptors, toString |
| Methods inherited from class org.ow2.util.ee.metadata.common.impl.CommonMethodMetadata |
|---|
getJAnnotationResource, getJavaxPersistenceContext, getJavaxPersistenceUnit, getJaxwsWebServiceRef, getJEjbEJB, getJwsHandlerChain, isPersistenceContext, isPersistenceUnit, isPostConstruct, isPreDestroy, setJAnnotationResource, setJavaxPersistenceContext, setJavaxPersistenceUnit, setJaxwsWebServiceRef, setJEjbEJB, setJwsHandlerChain, setPostConstruct, setPreDestroy |
| Methods inherited from class org.ow2.util.scan.api.metadata.MethodMetadata |
|---|
getClassMetadata, getJMethod, setClassMetadata, setJMethod |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
public EasyBeansEjbJarMethodMetadata(org.ow2.util.scan.api.metadata.structures.JMethod jMethod,
EasyBeansEjbJarClassMetadata classAnnotationMetadata)
jMethod - the method on which we will set/add metadataclassAnnotationMetadata - the parent metadata.| Method Detail |
|---|
public boolean isInherited()
public void setInherited(boolean inherited,
EasyBeansEjbJarClassMetadata originalClassMetadata)
inherited - true if method is from a super classoriginalClassMetadata - the metadata of the original class (not
inherited)public boolean isIgnored()
public void setIgnored(boolean ignored)
ignored - true/falsepublic EasyBeansEjbJarClassMetadata getOriginalClassMetadata()
public java.lang.String getMethodName()
org.ow2.easybeans.enhancer.interceptors.InterceptorClassAdapter
use it.
getMethodName in interface org.ow2.util.ee.metadata.ejbjar.api.IEjbJarMethodMetadata<org.ow2.util.ee.deploy.api.deployable.EJB3Deployable,EjbJarArchiveMetadata,EasyBeansEjbJarClassMetadata,EasyBeansEjbJarMethodMetadata,EasyBeansEjbJarFieldMetadata>getMethodName in class org.ow2.util.ee.metadata.ejbjar.impl.EjbJarMethodMetadata<org.ow2.util.ee.deploy.api.deployable.EJB3Deployable,EjbJarArchiveMetadata,EasyBeansEjbJarClassMetadata,EasyBeansEjbJarMethodMetadata,EasyBeansEjbJarFieldMetadata>public java.util.List<? extends org.ow2.util.ee.metadata.ejbjar.api.IJClassInterceptor> getInterceptors()
public void setInterceptors(java.util.List<? extends org.ow2.util.ee.metadata.ejbjar.api.IJClassInterceptor> interceptors)
interceptors - list of interceptors that enhancer will use.public java.lang.Object clone()
clone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||