org.apache.karaf.management
Class MBeanServerFactory

java.lang.Object
  extended by org.apache.karaf.management.MBeanServerFactory

public class MBeanServerFactory
extends java.lang.Object


Constructor Summary
MBeanServerFactory()
           
 
Method Summary
 void destroy()
           
 java.lang.String getAgentId()
           
 java.lang.String getDefaultDomain()
           
 javax.management.MBeanServer getServer()
           
 void init()
           
 boolean isLocateExistingServerIfPossible()
           
 boolean isNewlyRegistered()
           
 boolean isRegisterWithFactory()
           
 void setAgentId(java.lang.String agentId)
           
 void setDefaultDomain(java.lang.String defaultDomain)
           
 void setLocateExistingServerIfPossible(boolean locateExistingServerIfPossible)
           
 void setNewlyRegistered(boolean newlyRegistered)
           
 void setRegisterWithFactory(boolean registerWithFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanServerFactory

public MBeanServerFactory()
Method Detail

isLocateExistingServerIfPossible

public boolean isLocateExistingServerIfPossible()

setLocateExistingServerIfPossible

public void setLocateExistingServerIfPossible(boolean locateExistingServerIfPossible)

getAgentId

public java.lang.String getAgentId()

setAgentId

public void setAgentId(java.lang.String agentId)

getDefaultDomain

public java.lang.String getDefaultDomain()

setDefaultDomain

public void setDefaultDomain(java.lang.String defaultDomain)

isRegisterWithFactory

public boolean isRegisterWithFactory()

setRegisterWithFactory

public void setRegisterWithFactory(boolean registerWithFactory)

isNewlyRegistered

public boolean isNewlyRegistered()

setNewlyRegistered

public void setNewlyRegistered(boolean newlyRegistered)

getServer

public javax.management.MBeanServer getServer()
                                       throws Exception
Throws:
Exception

init

public void init()
          throws Exception
Throws:
Exception

destroy

public void destroy()
             throws Exception
Throws:
Exception


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.