org.apache.commons.modeler.mbeans

Class MBeanProxy

class MBeanProxy extends BaseModelMBean

Use the same metadata, except that we replace the attribute get/set methods.
Field Summary
HashMapatts
SimpleRemoteConnectorjkmx
static Loglog
Constructor Summary
MBeanProxy(SimpleRemoteConnector jkmx, String code)
Method Summary
ObjectgetAttribute(String name)
Objectinvoke(String name, Object[] params, String[] signature)
voidsetAttribute(Attribute attribute)
protected voidupdate(String name, String val)
Called by the connector - will update the value when a chunk of data is received

Field Detail

atts

HashMap atts

jkmx

SimpleRemoteConnector jkmx

log

private static Log log

Constructor Detail

MBeanProxy

public MBeanProxy(SimpleRemoteConnector jkmx, String code)

Method Detail

getAttribute

public Object getAttribute(String name)

invoke

public Object invoke(String name, Object[] params, String[] signature)

setAttribute

public void setAttribute(Attribute attribute)

update

protected void update(String name, String val)
Called by the connector - will update the value when a chunk of data is received
Copyright (c) 2001-2003 - Apache Software Foundation