org.jboss.kernel.spi.dependency.helpers
Class UnmodifiableKernelControllerContext

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.spi.helpers.UnmodifiableControllerContext<KernelControllerContext>
          extended by org.jboss.kernel.spi.dependency.helpers.UnmodifiableKernelControllerContext
All Implemented Interfaces:
Cloneable, org.jboss.dependency.spi.ControllerContext, org.jboss.dependency.spi.dispatch.AttributeDispatchContext, org.jboss.dependency.spi.dispatch.InvokeDispatchContext, KernelControllerContext, KernelRegistryEntry, org.jboss.util.JBossInterface

public class UnmodifiableKernelControllerContext
extends org.jboss.dependency.spi.helpers.UnmodifiableControllerContext<KernelControllerContext>
implements KernelControllerContext

Unmodifiable instance.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.dependency.spi.helpers.UnmodifiableControllerContext
delegate
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
UnmodifiableKernelControllerContext(KernelControllerContext delegate)
           
 
Method Summary
 Object get(String name)
           
 org.jboss.beans.info.spi.BeanInfo getBeanInfo()
          Get the BeanInfo
 BeanMetaData getBeanMetaData()
          Get the metadata
 ClassLoader getClassLoader()
           
 Kernel getKernel()
          Get the kernel
 Object invoke(String name, Object[] parameters, String[] signature)
           
 void set(String name, Object value)
           
 void setBeanInfo(org.jboss.beans.info.spi.BeanInfo info)
          Set the bean info
 void setName(Object name)
          Set the name
 void setTarget(Object target)
          Set the target
 
Methods inherited from class org.jboss.dependency.spi.helpers.UnmodifiableControllerContext
getAliases, getController, getDependencyInfo, getError, getMode, getName, getRequiredState, getScopeInfo, getState, getTarget, install, setController, setError, setMode, setRequiredState, setState, uninstall
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.dependency.spi.ControllerContext
getAliases, getController, getDependencyInfo, getError, getMode, getName, getRequiredState, getScopeInfo, getState, getTarget, install, setController, setError, setMode, setRequiredState, setState, uninstall
 

Constructor Detail

UnmodifiableKernelControllerContext

public UnmodifiableKernelControllerContext(KernelControllerContext delegate)
Method Detail

getKernel

public Kernel getKernel()
Description copied from interface: KernelControllerContext
Get the kernel

Specified by:
getKernel in interface KernelControllerContext
Returns:
the kernel

getBeanInfo

public org.jboss.beans.info.spi.BeanInfo getBeanInfo()
Description copied from interface: KernelControllerContext
Get the BeanInfo

Specified by:
getBeanInfo in interface KernelControllerContext
Returns:
the bean info

setBeanInfo

public void setBeanInfo(org.jboss.beans.info.spi.BeanInfo info)
Description copied from interface: KernelControllerContext
Set the bean info

Specified by:
setBeanInfo in interface KernelControllerContext
Parameters:
info - the bean info

getBeanMetaData

public BeanMetaData getBeanMetaData()
Description copied from interface: KernelControllerContext
Get the metadata

Specified by:
getBeanMetaData in interface KernelControllerContext
Returns:
the bean metadata

setTarget

public void setTarget(Object target)
Description copied from interface: KernelControllerContext
Set the target

Specified by:
setTarget in interface KernelControllerContext
Parameters:
target - the target

setName

public void setName(Object name)
Description copied from interface: KernelRegistryEntry
Set the name

Specified by:
setName in interface KernelRegistryEntry
Parameters:
name - the name

invoke

public Object invoke(String name,
                     Object[] parameters,
                     String[] signature)
              throws Throwable
Specified by:
invoke in interface org.jboss.dependency.spi.dispatch.InvokeDispatchContext
Throws:
Throwable

getClassLoader

public ClassLoader getClassLoader()
                           throws Throwable
Specified by:
getClassLoader in interface org.jboss.dependency.spi.dispatch.InvokeDispatchContext
Throws:
Throwable

get

public Object get(String name)
           throws Throwable
Specified by:
get in interface org.jboss.dependency.spi.dispatch.AttributeDispatchContext
Throws:
Throwable

set

public void set(String name,
                Object value)
         throws Throwable
Specified by:
set in interface org.jboss.dependency.spi.dispatch.AttributeDispatchContext
Throws:
Throwable


Copyright ? 2007 JBoss Inc.. All Rights Reserved.