org.jboss.kernel.spi.registry
Interface KernelBus

All Superinterfaces:
KernelEventEmitter, KernelObject
All Known Implementing Classes:
AbstractKernelBus, BasicKernelBus, LifecycleAwareKernelBus

public interface KernelBus
extends KernelObject

A bus.

The bus allows detatched invocations on named components in the registry.

Version:
$Revision: 65533 $
Author:
Adrian Brock

Method Summary
 Object get(Object name, String getter)
          Getter property / attribute
 Object invoke(Object name, String methodName, Object[] parameters, String[] signature)
          Invoke method / operation
 void set(Object name, String setter, Object value)
          Setter property / attribute
 
Methods inherited from interface org.jboss.kernel.spi.KernelObject
getKernel, setKernel
 
Methods inherited from interface org.jboss.kernel.spi.event.KernelEventEmitter
fireKernelEvent, registerListener, unregisterListener
 

Method Detail

get

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

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

set

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

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

invoke

Object invoke(Object name,
              String methodName,
              Object[] parameters,
              String[] signature)
              throws Throwable
Invoke method / operation

Parameters:
name - entry name
methodName - method name
parameters - parameter values
signature - method's parameter types / signatures
Returns:
inovocation's return object
Throws:
Throwable - for any error


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