cz.cuni.amis.pogamut.ut2004.bot.jmx
Class BotJMXMBeanAdapter<T extends IUT2004Bot>

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.jmx.adapter.AgentMBeanAdapter<T>
      extended by cz.cuni.amis.pogamut.base3d.agent.jmx.Agent3DMBeanAdapter<T>
          extended by cz.cuni.amis.pogamut.ut2004.bot.jmx.BotJMXMBeanAdapter<T>
All Implemented Interfaces:
IAgentMBeanAdapter, Agent3DMBeanAdapterMBean, BotJMXMBeanAdapterMBean

public class BotJMXMBeanAdapter<T extends IUT2004Bot>
extends Agent3DMBeanAdapter<T>
implements BotJMXMBeanAdapterMBean

This is the other side (the agent side) of BotJMXProxy (th eplugin side).


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.jmx.adapter.AgentMBeanAdapter
AGENT_NAME_FLAG_NAME, AGENT_STATE_FLAG_NAME
 
Constructor Summary
BotJMXMBeanAdapter(T agent, javax.management.ObjectName objectName, javax.management.MBeanServer mbs)
           
 
Method Summary
 void boolConfigure(java.lang.String param, boolean value)
          Configures bot property.
 void respawn()
           
 boolean retrieveBoolConfigure(java.lang.String param)
          Get configuration parameter value.
 
Methods inherited from class cz.cuni.amis.pogamut.base3d.agent.jmx.Agent3DMBeanAdapter
getLocation, getRotation, getVelocity
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.jmx.adapter.AgentMBeanAdapter
getAgent, getComponentId, getName, getObjectName, getState, kill, pause, resume, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base3d.agent.jmx.Agent3DMBeanAdapterMBean
getLocation, getRotation, getVelocity
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.jmx.adapter.IAgentMBeanAdapter
getComponentId, getName, getObjectName, getState, kill, pause, resume, start, stop
 

Constructor Detail

BotJMXMBeanAdapter

public BotJMXMBeanAdapter(T agent,
                          javax.management.ObjectName objectName,
                          javax.management.MBeanServer mbs)
                   throws javax.management.MalformedObjectNameException,
                          javax.management.InstanceAlreadyExistsException,
                          javax.management.InstanceAlreadyExistsException,
                          javax.management.MBeanRegistrationException,
                          javax.management.NotCompliantMBeanException
Throws:
javax.management.MalformedObjectNameException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.NotCompliantMBeanException
Method Detail

respawn

public void respawn()
             throws PogamutException
Specified by:
respawn in interface BotJMXMBeanAdapterMBean
Throws:
PogamutException

boolConfigure

public void boolConfigure(java.lang.String param,
                          boolean value)
Description copied from interface: BotJMXMBeanAdapterMBean
Configures bot property.

Specified by:
boolConfigure in interface BotJMXMBeanAdapterMBean
Parameters:
param - see BoolBotParam

retrieveBoolConfigure

public boolean retrieveBoolConfigure(java.lang.String param)
Description copied from interface: BotJMXMBeanAdapterMBean
Get configuration parameter value.

Specified by:
retrieveBoolConfigure in interface BotJMXMBeanAdapterMBean
Parameters:
param - see BoolBotParam
Returns: