|
||||||||||
| 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<org.jboss.reflect.spi.ClassInfo,C>
org.jboss.kernel.plugins.annotations.ClassAnnotationPlugin<C>
org.jboss.kernel.plugins.annotations.ExternalInstallationAnnotationPlugin<C>
C - annotation typepublic abstract class ExternalInstallationAnnotationPlugin<C extends Annotation>
Abstract external installation annotation plugin.
| Field Summary |
|---|
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
protected |
ExternalInstallationAnnotationPlugin(Class<C> annotation)
|
| Method Summary | |
|---|---|
protected InstallMetaData |
createInstallMetaData(ExternalInstall install)
Create InstallMetaData from ExternalInstall. |
protected abstract List<InstallMetaData> |
getExistingInstallMetaData(BeanMetaData beanMetaData)
Get existing InstallMetaData list. |
protected abstract ExternalInstall[] |
getExternalInstalls(C annotation)
Get ExternalInstall array from annotation. |
protected List<InstallMetaData> |
getInstallMetaData(C annotation)
Create InstallMetaData from array of ExternalInstall. |
protected List<? extends MetaDataVisitorNode> |
internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info,
C annotation,
KernelControllerContext context)
Apply annotation since it's not present. |
protected static boolean |
isDifferent(InstallMetaData first,
InstallMetaData second)
Compare twi InstallMetaData instances. |
| Methods inherited from class org.jboss.kernel.plugins.annotations.ClassAnnotationPlugin |
|---|
isElementTypeSupported |
| Methods inherited from class org.jboss.kernel.plugins.annotations.AbstractAnnotationPlugin |
|---|
applyAnnotation, cleanAnnotation, getAnnotation, getSupportedTypes, internalApplyAnnotation, internalApplyAnnotation, internalCleanAnnotation, isAttributePresent, isMetaDataAlreadyPresent, 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 |
|---|
protected ExternalInstallationAnnotationPlugin(Class<C> annotation)
| Method Detail |
|---|
protected abstract List<InstallMetaData> getExistingInstallMetaData(BeanMetaData beanMetaData)
beanMetaData - the bean metadata
protected abstract ExternalInstall[] getExternalInstalls(C annotation)
annotation - the annotation
protected List<InstallMetaData> getInstallMetaData(C annotation)
annotation - the annotation
protected InstallMetaData createInstallMetaData(ExternalInstall install)
install - the existing install
protected List<? extends MetaDataVisitorNode> internalApplyAnnotation(org.jboss.reflect.spi.ClassInfo info,
C annotation,
KernelControllerContext context)
throws Throwable
AbstractAnnotationPlugin
internalApplyAnnotation in class AbstractAnnotationPlugin<org.jboss.reflect.spi.ClassInfo,C extends Annotation>info - the infoannotation - the annotationcontext - the context
Throwable - for any error
protected static boolean isDifferent(InstallMetaData first,
InstallMetaData second)
first - first InstallMetaData instancesecond - second InstallMetaData instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||