org.jboss.kernel.plugins.dependency
Class ConfigureAction

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.AbstractConfigureAction
                      extended by org.jboss.kernel.plugins.dependency.ConfigureAction
All Implemented Interfaces:
ControllerContextAction

public class ConfigureAction
extends AbstractConfigureAction

New ConfigureAction.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
log
 
Constructor Summary
ConfigureAction()
           
 
Method Summary
protected  void dispatchSetProperty(KernelControllerContext context, PropertyMetaData property, boolean nullify, org.jboss.beans.info.spi.BeanInfo info, Object target, ClassLoader cl)
          Dispatch property set
protected  void installActionInternal(KernelControllerContext context)
          Execute install action.
protected  void setAttributes(KernelControllerContext context, Object target, org.jboss.beans.info.spi.BeanInfo info, BeanMetaData metaData, boolean nullify)
          Set attributes/properties.
protected  void uninstallActionInternal(KernelControllerContext context)
          Execute uninstall action.
 
Methods inherited from class org.jboss.kernel.plugins.dependency.AbstractConfigureAction
getActionAwareInterface, getState, installKernelControllerContextAware, isExactlyKernelControllerContextAware, uninstallKernelControllerContextAware
 
Methods inherited from class org.jboss.kernel.plugins.dependency.InstallsAwareAction
considerUninstalls, doInstalls, doUninstalls, doUninstalls, installAction, undoInstallAction, uninstallAction
 
Methods inherited from class org.jboss.kernel.plugins.dependency.KernelControllerContextAction
contextCast, setKernelControllerContext, 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

ConfigureAction

public ConfigureAction()
Method Detail

installActionInternal

protected void installActionInternal(KernelControllerContext context)
                              throws Throwable
Description copied from class: KernelControllerContextAction
Execute install action.

Overrides:
installActionInternal in class KernelControllerContextAction
Parameters:
context - the context
Throws:
Throwable - for any error

uninstallActionInternal

protected void uninstallActionInternal(KernelControllerContext context)
Description copied from class: KernelControllerContextAction
Execute uninstall action.

Overrides:
uninstallActionInternal in class KernelControllerContextAction
Parameters:
context - the context

setAttributes

protected void setAttributes(KernelControllerContext context,
                             Object target,
                             org.jboss.beans.info.spi.BeanInfo info,
                             BeanMetaData metaData,
                             boolean nullify)
                      throws Throwable
Set attributes/properties.

Parameters:
context - the context
target - the target
info - the bean info
metaData - the bean metadata
nullify - should we nullify attributes/properties
Throws:
Throwable - for any error

dispatchSetProperty

protected void dispatchSetProperty(KernelControllerContext context,
                                   PropertyMetaData property,
                                   boolean nullify,
                                   org.jboss.beans.info.spi.BeanInfo info,
                                   Object target,
                                   ClassLoader cl)
                            throws Throwable
Dispatch property set

Parameters:
context - the context
property - the property
nullify - should we nullify
info - the bean info
target - the target
cl - classloader
Throws:
Throwable - for any error


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