org.jboss.dependency.spi.dispatch
Interface AttributeDispatchContext

All Known Subinterfaces:
InvokeDispatchContext, KernelControllerContext, LifecycleDispatchContext
All Known Implementing Classes:
AbstractKernelControllerContext, BeanKernelRegistryEntry, UnmodifiableKernelControllerContext

public interface AttributeDispatchContext

The API similar to the DynamicMBean API where there are methods to get/set Properties/Attributes. It is missing invoke, since not all context support it. KernelControllerContext -> Configurator ServiceControllerContext -> MBeanServer

Author:
Ales Justin
See Also:
InvokeDispatchContext

Method Summary
 Object get(String name)
          Getter property / attribute
 void set(String name, Object value)
          Setter property / attribute
 

Method Detail

get

Object get(String name)
           throws Throwable
Getter property / attribute

Parameters:
name - property / attribute name
Returns:
target's property / attribute instance
Throws:
Throwable - for any error

set

void set(String name,
         Object value)
         throws Throwable
Setter property / attribute

Parameters:
name - property / attribute name
value - set target's property / attribute instance
Throws:
Throwable - for any error


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