org.ow2.util.ee.metadata.common.api
Interface ICommonMethodMetadata<C extends ICommonClassMetadata<C,M,F>,M extends ICommonMethodMetadata<C,M,F>,F extends ICommonFieldMetadata<C,M,F>>
- Type Parameters:
C - the common interface for class metadataM - the common interface for method metadataF - the common interface for field metadata
- All Superinterfaces:
- IAnnotationResource, IEjbEJB, IHandlerChain, IMethodMetadata<C,M,F>, IPersistenceContext, IPersistenceUnit, ISharedMetadata, IWebServiceRef, Serializable
public interface ICommonMethodMetadata<C extends ICommonClassMetadata<C,M,F>,M extends ICommonMethodMetadata<C,M,F>,F extends ICommonFieldMetadata<C,M,F>>
- extends ISharedMetadata, IMethodMetadata<C,M,F>
The common interface for method metadata.
- Author:
- Gael Lalire
isPostConstruct
boolean isPostConstruct()
- Returns:
- true if method has @
PostConstruct.
setPostConstruct
void setPostConstruct(boolean postConstruct)
- Sets true if method has @
PostConstruct.
- Parameters:
postConstruct - true/false.
isPreDestroy
boolean isPreDestroy()
- Returns:
- true if method has @
PreDestroy.
setPreDestroy
void setPreDestroy(boolean preDestroy)
- Sets true if method has @
PreDestroy.
- Parameters:
preDestroy - true/false.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.