org.ow2.jasmine.vmm.agent.main
Class VirtManagerAgent

java.lang.Object
  extended by org.ow2.jasmine.vmm.agent.main.AgentCommon
      extended by org.ow2.jasmine.vmm.agent.main.VirtManagerAgent
All Implemented Interfaces:
org.ow2.jasmine.vmm.api.VMMAgentMXBean

public class VirtManagerAgent
extends AgentCommon
implements org.ow2.jasmine.vmm.api.VMMAgentMXBean

VirtManagerAgent implements the VMMAgentMXBean interface and is the entry point of the agent. VirtManagerAgent is a singleton. VirtManagerAgent expects:


Field Summary
 
Fields inherited from class org.ow2.jasmine.vmm.agent.main.AgentCommon
mbs
 
Constructor Summary
VirtManagerAgent(int port, java.lang.String managedResourcesFileName)
           
 
Method Summary
static VirtManagerAgent getInstance()
           
 org.ow2.jasmine.vmm.api.DomainMXBean getRootDomain()
           
 java.lang.String[] getServerPoolCreationAttributes(java.lang.String driverName)
           
 void saveConfiguration()
           
 void shutdown()
           
 
Methods inherited from class org.ow2.jasmine.vmm.agent.main.AgentCommon
getMBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtManagerAgent

public VirtManagerAgent(int port,
                        java.lang.String managedResourcesFileName)
Method Detail

getInstance

public static VirtManagerAgent getInstance()

getRootDomain

public org.ow2.jasmine.vmm.api.DomainMXBean getRootDomain()
Specified by:
getRootDomain in interface org.ow2.jasmine.vmm.api.VMMAgentMXBean

saveConfiguration

public void saveConfiguration()

shutdown

public void shutdown()
Specified by:
shutdown in interface org.ow2.jasmine.vmm.api.VMMAgentMXBean

getServerPoolCreationAttributes

public java.lang.String[] getServerPoolCreationAttributes(java.lang.String driverName)
                                                   throws org.ow2.jasmine.vmm.api.VMMException
Throws:
org.ow2.jasmine.vmm.api.VMMException


Copyright © 2011 OW2 Consortium. All Rights Reserved.