org.jboss.kernel.plugins.dependency
Class AnnotationsAction

java.lang.Object
  extended by org.jboss.dependency.plugins.action.AccessControllerContextAction<T,T>
      extended by org.jboss.dependency.plugins.action.SimpleControllerContextAction<KernelControllerContext>
          extended by org.jboss.kernel.plugins.dependency.KernelControllerContextAction
              extended by org.jboss.kernel.plugins.dependency.InstallsAwareAction
                  extended by org.jboss.kernel.plugins.dependency.AnnotationsAction
All Implemented Interfaces:
ControllerContextAction
Direct Known Subclasses:
DescribeAction, InstantiateAction

public abstract class AnnotationsAction
extends InstallsAwareAction

Handles IoC annotations.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
log
 
Constructor Summary
AnnotationsAction()
           
 
Method Summary
protected  void applyAnnotations(KernelControllerContext context)
          Handle IoC annotations.
protected  void cleanAnnotations(KernelControllerContext context)
          Clean IoC annotations.
protected  BeanAnnotationAdapter getBeanAnnotationAdapter()
          Get bean annotation adapter.
 
Methods inherited from class org.jboss.kernel.plugins.dependency.InstallsAwareAction
considerUninstalls, doInstalls, doUninstalls, doUninstalls, getState, installAction, undoInstallAction, uninstallAction
 
Methods inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
contextCast, getActionAwareInterface, installActionInternal, setKernelControllerContext, uninstallActionInternal, unsetKernelControllerContext, validateContext
 
Methods inherited from class org.jboss.dependency.plugins.action.SimpleControllerContextAction
fullContextCast, secureInstallAction, secureUninstallAction, simpleContextCast, simpleInstallAction, simpleUninstallAction
 
Methods inherited from class org.jboss.dependency.plugins.action.AccessControllerContextAction
install, uninstall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsAction

public AnnotationsAction()
Method Detail

applyAnnotations

protected void applyAnnotations(KernelControllerContext context)
                         throws Throwable
Handle IoC annotations.

Parameters:
context - the kernel controller context
Throws:
Throwable - for any error

cleanAnnotations

protected void cleanAnnotations(KernelControllerContext context)
Clean IoC annotations.

Parameters:
context - the kernel controller context

getBeanAnnotationAdapter

protected BeanAnnotationAdapter getBeanAnnotationAdapter()
Get bean annotation adapter.

Returns:
bean annotation adapter


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.