org.apache.qpid.server.registry
Class BrokerConfigAdapter

java.lang.Object
  extended by org.apache.qpid.server.registry.BrokerConfigAdapter
All Implemented Interfaces:
BrokerConfig, ConfiguredObject<BrokerConfigType,BrokerConfig>

public class BrokerConfigAdapter
extends Object
implements BrokerConfig


Constructor Summary
BrokerConfigAdapter(IApplicationRegistry instance)
           
 
Method Summary
 void addVirtualHost(VirtualHostConfig virtualHost)
           
 void createBrokerConnection(String transport, String host, int port, boolean durable, String authMechanism, String username, String password)
           
 BrokerConfigType getConfigType()
           
 Integer getConnectionBacklogLimit()
           
 long getCreateTime()
           
 String getDataDirectory()
           
 String getFederationTag()
           
 UUID getId()
           
 Integer getManagementPublishInterval()
           
 Integer getMaxConnections()
           
 ConfiguredObject getParent()
           
 Integer getPort()
           
 Long getStagingThreshold()
           
 SystemConfig getSystem()
           
 String getVersion()
           
 Integer getWorkerThreads()
           
 boolean isDurable()
           
 void setSystem(SystemConfig system)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerConfigAdapter

public BrokerConfigAdapter(IApplicationRegistry instance)
Method Detail

setSystem

public void setSystem(SystemConfig system)
Specified by:
setSystem in interface BrokerConfig

getSystem

public SystemConfig getSystem()
Specified by:
getSystem in interface BrokerConfig

getPort

public Integer getPort()
Specified by:
getPort in interface BrokerConfig

getWorkerThreads

public Integer getWorkerThreads()
Specified by:
getWorkerThreads in interface BrokerConfig

getMaxConnections

public Integer getMaxConnections()
Specified by:
getMaxConnections in interface BrokerConfig

getConnectionBacklogLimit

public Integer getConnectionBacklogLimit()
Specified by:
getConnectionBacklogLimit in interface BrokerConfig

getStagingThreshold

public Long getStagingThreshold()
Specified by:
getStagingThreshold in interface BrokerConfig

getManagementPublishInterval

public Integer getManagementPublishInterval()
Specified by:
getManagementPublishInterval in interface BrokerConfig

getVersion

public String getVersion()
Specified by:
getVersion in interface BrokerConfig

getDataDirectory

public String getDataDirectory()
Specified by:
getDataDirectory in interface BrokerConfig

addVirtualHost

public void addVirtualHost(VirtualHostConfig virtualHost)
Specified by:
addVirtualHost in interface BrokerConfig

getCreateTime

public long getCreateTime()
Specified by:
getCreateTime in interface ConfiguredObject<BrokerConfigType,BrokerConfig>

createBrokerConnection

public void createBrokerConnection(String transport,
                                   String host,
                                   int port,
                                   boolean durable,
                                   String authMechanism,
                                   String username,
                                   String password)
Specified by:
createBrokerConnection in interface BrokerConfig

getId

public UUID getId()
Specified by:
getId in interface ConfiguredObject<BrokerConfigType,BrokerConfig>

getConfigType

public BrokerConfigType getConfigType()
Specified by:
getConfigType in interface ConfiguredObject<BrokerConfigType,BrokerConfig>

getParent

public ConfiguredObject getParent()
Specified by:
getParent in interface ConfiguredObject<BrokerConfigType,BrokerConfig>

isDurable

public boolean isDurable()
Specified by:
isDurable in interface ConfiguredObject<BrokerConfigType,BrokerConfig>

getFederationTag

public String getFederationTag()
Specified by:
getFederationTag in interface BrokerConfig


Licensed to the Apache Software Foundation