org.jboss.kernel.plugins.annotations
Class UninstallFieldCallbackAnnotationPlugin
java.lang.Object
org.jboss.util.JBossObject
org.jboss.kernel.plugins.annotations.BaseMetaDataAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin<T,C>
org.jboss.kernel.plugins.annotations.CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
org.jboss.kernel.plugins.annotations.UninstallFieldCallbackAnnotationPlugin
- All Implemented Interfaces:
- Cloneable, AnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>, MetaDataAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>, org.jboss.util.JBossInterface
public class UninstallFieldCallbackAnnotationPlugin
- extends CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
Uninstall field callback annotation plugin.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
INSTANCE
public static final UninstallFieldCallbackAnnotationPlugin INSTANCE
UninstallFieldCallbackAnnotationPlugin
protected UninstallFieldCallbackAnnotationPlugin()
isElementTypeSupported
protected boolean isElementTypeSupported(ElementType type)
- Description copied from class:
BaseMetaDataAnnotationPlugin
- Is type supported by plugin.
- Overrides:
isElementTypeSupported
in class CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
- Parameters:
type
- the annotation element type
- Returns:
- true if element supported
isEqual
protected boolean isEqual(org.jboss.reflect.spi.FieldInfo info,
CallbackItem<?> ci)
- Description copied from class:
CallbackAnnotationPlugin
- Does callback item corespond to info instance.
- Specified by:
isEqual
in class CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
- Parameters:
info
- the infoci
- the callback item
- Returns:
- true if callback matches info
applyInfo
protected void applyInfo(AbstractCallbackMetaData callback,
org.jboss.reflect.spi.FieldInfo info)
- Description copied from class:
CallbackAnnotationPlugin
- Apply additional information.
- Specified by:
applyInfo
in class CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
- Parameters:
callback
- the callback metadatainfo
- the info
getCallbacks
protected Set<CallbackItem<?>> getCallbacks(DependencyInfo dependency)
- Description copied from class:
CallbackAnnotationPlugin
- Get the callbacks.
- Specified by:
getCallbacks
in class CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
- Parameters:
dependency
- the dependency info
- Returns:
- set of callback items
createCallback
protected AbstractCallbackMetaData createCallback(org.jboss.reflect.spi.FieldInfo info,
Uninstall annotation)
- Description copied from class:
CallbackAnnotationPlugin
- Create new CallbackMetaData instance.
- Specified by:
createCallback
in class CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
- Parameters:
info
- the infoannotation
- the annotation
- Returns:
- new CallbackMetaData instance
getCallbacks
protected List<CallbackMetaData> getCallbacks(AbstractBeanMetaData beanMetaData)
- Description copied from class:
CallbackAnnotationPlugin
- Get the callback metadatas.
- Specified by:
getCallbacks
in class CallbackAnnotationPlugin<org.jboss.reflect.spi.FieldInfo,Uninstall>
- Parameters:
beanMetaData
- the bean metadata
- Returns:
- list of callback metadatas
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.