站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

MBeanInvoker (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.server
Interface MBeanInvoker

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, Suspendable
All Known Implementing Classes:
AbstractMBeanInvoker

public interface MBeanInvoker
extends DynamicMBean, MBeanRegistration, NotificationEmitter, Suspendable

This interface represents an invoker for an MBean. An invoker is registered to the MBean server to represent an user MBean. The invoker itself implements a DynamicMBean interface and therefore receives all attribute accessor and operation invocations targeted at the user MBean.

Invoker implementations may handle the incoming invocations in different ways. The default implementation in AbstractMBeanInvoker constructs an Invocation object for each invocation and dispatches it through a set of Interceptor instances before the invocation is dispatched on the user MBean.

Version:
$Revision: 1.15 $
Author:
Juha Lindfors.

Method Summary
 MBeanInfo getMetaData()
           
 ObjectName getObjectName()
           
 Object getResource()
           
 void setResource(Object resource)
           
 void updateAttributeInfo(Descriptor attrDesc)
           
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface org.jboss.mx.server.Suspendable
getInvocationTimeout, isSuspended, resume, setInvocationTimeout, suspend, suspend, suspend
 

Method Detail

getMetaData

public MBeanInfo getMetaData()

getResource

public Object getResource()

setResource

public void setResource(Object resource)

getObjectName

public ObjectName getObjectName()

updateAttributeInfo

public void updateAttributeInfo(Descriptor attrDesc)
                         throws MBeanException
Throws:
MBeanException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.