org.jboss.kernel.plugins.registry
Class BeanKernelRegistryEntry
java.lang.Object
org.jboss.util.JBossObject
org.jboss.kernel.plugins.registry.AbstractKernelRegistryEntry
org.jboss.kernel.plugins.registry.BeanKernelRegistryEntry
- All Implemented Interfaces:
- Cloneable, ControllerContext, AttributeDispatchContext, InvokeDispatchContext, KernelRegistryEntry, org.jboss.util.JBossInterface
public class BeanKernelRegistryEntry
- extends AbstractKernelRegistryEntry
- implements InvokeDispatchContext
Bean Kernel registry entry.
- Author:
- Ales Justin
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.kernel.plugins.registry.AbstractKernelRegistryEntry |
getAliases, getController, getDependencyInfo, getError, getErrorHandlingMode, getMode, getName, getRequiredState, getScopeInfo, getState, getTarget, install, setController, setError, setMode, setName, setRequiredState, setState, toShortString, toString, uninstall |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString |
BeanKernelRegistryEntry
public BeanKernelRegistryEntry(Object target,
org.jboss.beans.info.spi.BeanInfo beanInfo)
BeanKernelRegistryEntry
public BeanKernelRegistryEntry(Object name,
Object target,
org.jboss.beans.info.spi.BeanInfo beanInfo)
get
public Object get(String name)
throws Throwable
- Description copied from interface:
AttributeDispatchContext
- Getter property / attribute
- Specified by:
get
in interface AttributeDispatchContext
- Parameters:
name
- property / attribute name
- Returns:
- target's property / attribute instance
- Throws:
Throwable
- for any error
set
public void set(String name,
Object value)
throws Throwable
- Description copied from interface:
AttributeDispatchContext
- Setter property / attribute
- Specified by:
set
in interface AttributeDispatchContext
- Parameters:
name
- property / attribute namevalue
- set target's property / attribute instance
- Throws:
Throwable
- for any error
invoke
public Object invoke(String name,
Object[] parameters,
String[] signature)
throws Throwable
- Description copied from interface:
InvokeDispatchContext
- Invoke method / operation
- Specified by:
invoke
in interface InvokeDispatchContext
- Parameters:
name
- method nameparameters
- parameter valuessignature
- method's parameter types / signatures
- Returns:
- inovocation's return object
- Throws:
Throwable
- for any error
getClassLoader
public ClassLoader getClassLoader()
throws Throwable
- Description copied from interface:
InvokeDispatchContext
- Get context's classloader.
Used when determining type info for parameter and
getting the parameter actual value.
- Specified by:
getClassLoader
in interface InvokeDispatchContext
- Returns:
- context's classloader
- Throws:
Throwable
- for any error
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.