|
||||||||||
| 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.AbstractAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractAdaptersAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,FactoryMethod,AbstractConstructorMetaData>
org.jboss.kernel.plugins.annotations.FactoryMethodAnnotationPlugin
public class FactoryMethodAnnotationPlugin
Factory method 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 | |
|---|---|
FactoryMethodAnnotationPlugin(Annotation2ValueMetaDataAdapter... adapters)
|
|
| Method Summary | |
|---|---|
protected boolean |
checkAnnotatedInfo(ElementType type)
Check additional element type - apart from Parameter element type. |
protected AbstractConstructorMetaData |
createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info,
FactoryMethod annotation,
BeanMetaData beanMetaData)
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,
FactoryMethod annotation,
BeanMetaData beanMetaData)
Handle info which has zero parameters. |
protected boolean |
isMetaDataAlreadyPresent(org.jboss.reflect.spi.MethodInfo info,
FactoryMethod annotation,
BeanMetaData beanMetaData)
Is meta data already present. |
protected void |
setParameterizedMetaData(AbstractConstructorMetaData parameterizedMetaData,
BeanMetaData beanMetaData)
Set the ParameterizedMetaData instance. |
| Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractParameterAnnotationPlugin |
|---|
createParametrizedMetaData, createParametrizedMetaData, createParametrizedMetaData, handleParameterlessInfo, internalApplyAnnotation, isElementTypeSupported, setParameterizedMetaData |
| Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin |
|---|
applyAnnotation, cleanAnnotation, getAnnotation, getSupportedTypes, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isAttributePresent, isMetaDataAlreadyPresent, 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 |
| Constructor Detail |
|---|
public FactoryMethodAnnotationPlugin(Annotation2ValueMetaDataAdapter... adapters)
| Method Detail |
|---|
protected boolean checkAnnotatedInfo(ElementType type)
AbstractParameterAnnotationPlugin
checkAnnotatedInfo in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,FactoryMethod,AbstractConstructorMetaData>type - the type
protected boolean isMetaDataAlreadyPresent(org.jboss.reflect.spi.MethodInfo info,
FactoryMethod annotation,
BeanMetaData beanMetaData)
AbstractAnnotationPlugin
isMetaDataAlreadyPresent in class AbstractAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,FactoryMethod>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,FactoryMethod,AbstractConstructorMetaData>info - the type
protected List<? extends MetaDataVisitorNode> handleParameterlessInfo(org.jboss.reflect.spi.MethodInfo info,
FactoryMethod annotation,
BeanMetaData beanMetaData)
AbstractParameterAnnotationPlugin
handleParameterlessInfo in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,FactoryMethod,AbstractConstructorMetaData>info - the infoannotation - the annotationbeanMetaData - the bean metadata
protected AbstractConstructorMetaData createParametrizedMetaData(org.jboss.reflect.spi.MethodInfo info,
FactoryMethod annotation,
BeanMetaData beanMetaData)
AbstractParameterAnnotationPlugin
createParametrizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,FactoryMethod,AbstractConstructorMetaData>info - the infoannotation - the annotationbeanMetaData - the bean metadata
protected void setParameterizedMetaData(AbstractConstructorMetaData parameterizedMetaData,
BeanMetaData beanMetaData)
AbstractParameterAnnotationPlugin
setParameterizedMetaData in class AbstractParameterAnnotationPlugin<org.jboss.reflect.spi.MethodInfo,FactoryMethod,AbstractConstructorMetaData>parameterizedMetaData - the parameterized metadatabeanMetaData - the bean metadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||