|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractAdaptersAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C,P>
org.jboss.kernel.plugins.annotations.AbstractMethodParameterAnnotationPlugin<C,AbstractLifecycleMetaData>
org.jboss.kernel.plugins.annotations.LifecycleParameterAnnotationPlugin<C>
C - annotation typepublic abstract class LifecycleParameterAnnotationPlugin<C extends Annotation>
Abstract lifecycle annotation plugin.
| Field Summary |
|---|
| Fields inherited from class org.jboss.kernel.plugins.annotations.AbstractAdaptersAnnotationPlugin |
|---|
adapters |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
protected |
LifecycleParameterAnnotationPlugin(Class<C> annotation,
Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> adapters)
|
| Method Summary | |
|---|---|
protected abstract void |
applyLifecycleAnnotation(AbstractLifecycleMetaData lifecycle,
C annotation)
Apply lifecycle annotation. |
protected boolean |
checkAnnotatedInfo(ElementType type)
Check additional element type - apart from Parameter element type. |
protected AbstractLifecycleMetaData |
createLifecycleMetaData(String method,
C annotation)
|
protected AbstractLifecycleMetaData |
createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info,
C annotation)
Create new Parametrized metadata. |
protected org.jboss.reflect.spi.ParameterInfo[] |
getParameters(org.jboss.reflect.spi.MethodInfo info)
Get the parameters infos from type. |
protected List<? extends MetaDataVisitorNode> |
handleParameterlessInfo(org.jboss.reflect.spi.MethodInfo info,
C annotation,
BeanMetaData beanMetaData)
Handle info which has zero parameters. |
protected abstract boolean |
isLifecyclePresent(BeanMetaData beanMetaData)
Is lifecycle metadata present. |
protected boolean |
isMetaDataAlreadyPresent(org.jboss.reflect.spi.MethodInfo info,
C annotation,
BeanMetaData beanMetaData)
Is meta data already present. |
protected abstract void |
setLifecycleMetaData(AbstractBeanMetaData beanMetaData,
AbstractLifecycleMetaData lifecycle)
Set lifecycle metadata. |
protected void |
setParameterizedMetaData(AbstractLifecycleMetaData parameterizedMetaData,
BeanMetaData beanMetaData)
Set the ParameterizedMetaData instance. |
| Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractMethodParameterAnnotationPlugin |
|---|
createParametersSignature |
| Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin |
|---|
createParametrizedMetaData, createParametrizedMetaData, internalApplyAnnotation, isElementTypeSupported |
| Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin |
|---|
applyAnnotation, checkIfNotAbstractBeanMetaDataSpecific, cleanAnnotation, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isMetaDataAlreadyPresent |
| Methods inherited from class org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin |
|---|
applyAnnotation, getAnnotation, getSupportedTypes, isAttributePresent, isAttributePresent, isCleanup, isCleanupOnly, toShortString, toString |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.kernel.plugins.annotations.MetaDataAnnotationPlugin |
|---|
applyAnnotation, getAnnotation, getSupportedTypes |
| Constructor Detail |
|---|
protected LifecycleParameterAnnotationPlugin(Class<C> annotation,
Set<Annotation2ValueMetaDataAdapter<? extends Annotation>> adapters)
| Method Detail |
|---|
protected boolean checkAnnotatedInfo(ElementType type)
AbstractParameterAnnotationPlugin
checkAnnotatedInfo in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation,AbstractLifecycleMetaData>type - the type
protected abstract boolean isLifecyclePresent(BeanMetaData beanMetaData)
beanMetaData - the bean metadata
protected AbstractLifecycleMetaData createLifecycleMetaData(String method,
C annotation)
protected abstract void applyLifecycleAnnotation(AbstractLifecycleMetaData lifecycle,
C annotation)
lifecycle - lifecycle metadataannotation - the annotation
protected abstract void setLifecycleMetaData(AbstractBeanMetaData beanMetaData,
AbstractLifecycleMetaData lifecycle)
beanMetaData - the bean metadatalifecycle - the lifecycle metadata
protected boolean isMetaDataAlreadyPresent(org.jboss.reflect.spi.MethodInfo info,
C annotation,
BeanMetaData beanMetaData)
BaseMetaDataAnnotationPlugin
isMetaDataAlreadyPresent in class BaseMetaDataAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation>info - the infoannotation - the annotationbeanMetaData - the bean meta data
protected org.jboss.reflect.spi.ParameterInfo[] getParameters(org.jboss.reflect.spi.MethodInfo info)
AbstractParameterAnnotationPlugin
getParameters in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation,AbstractLifecycleMetaData>info - the type
protected List<? extends MetaDataVisitorNode> handleParameterlessInfo(org.jboss.reflect.spi.MethodInfo info,
C annotation,
BeanMetaData beanMetaData)
AbstractParameterAnnotationPlugin
handleParameterlessInfo in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation,AbstractLifecycleMetaData>info - the infoannotation - the annotationbeanMetaData - the bean metadata
protected AbstractLifecycleMetaData createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info,
C annotation)
AbstractParameterAnnotationPlugin
createParametrizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation,AbstractLifecycleMetaData>info - the infoannotation - the annotation
protected void setParameterizedMetaData(AbstractLifecycleMetaData parameterizedMetaData,
BeanMetaData beanMetaData)
AbstractParameterAnnotationPlugin
setParameterizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,C extends Annotation,AbstractLifecycleMetaData>parameterizedMetaData - the parameterized metadatabeanMetaData - the bean metadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||