org.jboss.messaging.core.management
Interface ManagementService

All Superinterfaces:
MessagingComponent, NotificationService
All Known Implementing Classes:
ManagementServiceImpl

public interface ManagementService
extends NotificationService, MessagingComponent

Version:
$Revision$
Author:
Jeff Mesnil

Method Summary
 java.lang.String getClusterPassword()
           
 java.lang.String getClusterUser()
           
 SimpleString getManagementAddress()
           
 SimpleString getManagementNotificationAddress()
           
 MessageCounterManager getMessageCounterManager()
           
 ReplicationOperationInvoker getReplicationOperationInvoker()
           
 java.lang.Object getResource(java.lang.String resourceName)
           
 ServerMessage handleMessage(ServerMessage message)
           
 void registerAcceptor(Acceptor acceptor, TransportConfiguration configuration)
           
 void registerAddress(SimpleString address)
           
 void registerBridge(Bridge bridge, BridgeConfiguration configuration)
           
 void registerBroadcastGroup(BroadcastGroup broadcastGroup, BroadcastGroupConfiguration configuration)
           
 void registerCluster(ClusterConnection cluster, ClusterConnectionConfiguration configuration)
           
 void registerDiscoveryGroup(DiscoveryGroup discoveryGroup, DiscoveryGroupConfiguration configuration)
           
 void registerDivert(Divert divert, DivertConfiguration config)
           
 void registerInJMX(javax.management.ObjectName objectName, java.lang.Object managedResource)
           
 void registerInRegistry(java.lang.String resourceName, java.lang.Object managedResource)
           
 void registerQueue(Queue queue, SimpleString address, StorageManager storageManager)
           
 MessagingServerControlImpl registerServer(PostOffice postOffice, StorageManager storageManager, Configuration configuration, HierarchicalRepository<AddressSettings> addressSettingsRepository, HierarchicalRepository<java.util.Set<Role>> securityRepository, ResourceManager resourceManager, RemotingService remotingService, MessagingServer messagingServer, QueueFactory queueFactory, java.util.concurrent.ScheduledExecutorService scheduledThreadPool, boolean backup)
           
 void unregisterAcceptor(java.lang.String name)
           
 void unregisterAddress(SimpleString address)
           
 void unregisterBridge(java.lang.String name)
           
 void unregisterBroadcastGroup(java.lang.String name)
           
 void unregisterCluster(java.lang.String name)
           
 void unregisterDiscoveryGroup(java.lang.String name)
           
 void unregisterDivert(SimpleString name)
           
 void unregisterFromJMX(javax.management.ObjectName objectName)
           
 void unregisterFromRegistry(java.lang.String resourceName)
           
 void unregisterQueue(SimpleString name, SimpleString address)
           
 void unregisterServer()
           
 
Methods inherited from interface org.jboss.messaging.core.management.NotificationService
addNotificationListener, enableNotifications, removeNotificationListener, sendNotification
 
Methods inherited from interface org.jboss.messaging.core.server.MessagingComponent
isStarted, start, stop
 

Method Detail

getMessageCounterManager

MessageCounterManager getMessageCounterManager()

getClusterUser

java.lang.String getClusterUser()

getClusterPassword

java.lang.String getClusterPassword()

getManagementAddress

SimpleString getManagementAddress()

getManagementNotificationAddress

SimpleString getManagementNotificationAddress()

getReplicationOperationInvoker

ReplicationOperationInvoker getReplicationOperationInvoker()

registerServer

MessagingServerControlImpl registerServer(PostOffice postOffice,
                                          StorageManager storageManager,
                                          Configuration configuration,
                                          HierarchicalRepository<AddressSettings> addressSettingsRepository,
                                          HierarchicalRepository<java.util.Set<Role>> securityRepository,
                                          ResourceManager resourceManager,
                                          RemotingService remotingService,
                                          MessagingServer messagingServer,
                                          QueueFactory queueFactory,
                                          java.util.concurrent.ScheduledExecutorService scheduledThreadPool,
                                          boolean backup)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

unregisterServer

void unregisterServer()
                      throws java.lang.Exception
Throws:
java.lang.Exception

registerInJMX

void registerInJMX(javax.management.ObjectName objectName,
                   java.lang.Object managedResource)
                   throws java.lang.Exception
Throws:
java.lang.Exception

unregisterFromJMX

void unregisterFromJMX(javax.management.ObjectName objectName)
                       throws java.lang.Exception
Throws:
java.lang.Exception

registerInRegistry

void registerInRegistry(java.lang.String resourceName,
                        java.lang.Object managedResource)

unregisterFromRegistry

void unregisterFromRegistry(java.lang.String resourceName)

registerAddress

void registerAddress(SimpleString address)
                     throws java.lang.Exception
Throws:
java.lang.Exception

unregisterAddress

void unregisterAddress(SimpleString address)
                       throws java.lang.Exception
Throws:
java.lang.Exception

registerQueue

void registerQueue(Queue queue,
                   SimpleString address,
                   StorageManager storageManager)
                   throws java.lang.Exception
Throws:
java.lang.Exception

unregisterQueue

void unregisterQueue(SimpleString name,
                     SimpleString address)
                     throws java.lang.Exception
Throws:
java.lang.Exception

registerAcceptor

void registerAcceptor(Acceptor acceptor,
                      TransportConfiguration configuration)
                      throws java.lang.Exception
Throws:
java.lang.Exception

unregisterAcceptor

void unregisterAcceptor(java.lang.String name)
                        throws java.lang.Exception
Throws:
java.lang.Exception

registerDivert

void registerDivert(Divert divert,
                    DivertConfiguration config)
                    throws java.lang.Exception
Throws:
java.lang.Exception

unregisterDivert

void unregisterDivert(SimpleString name)
                      throws java.lang.Exception
Throws:
java.lang.Exception

registerBroadcastGroup

void registerBroadcastGroup(BroadcastGroup broadcastGroup,
                            BroadcastGroupConfiguration configuration)
                            throws java.lang.Exception
Throws:
java.lang.Exception

unregisterBroadcastGroup

void unregisterBroadcastGroup(java.lang.String name)
                              throws java.lang.Exception
Throws:
java.lang.Exception

registerDiscoveryGroup

void registerDiscoveryGroup(DiscoveryGroup discoveryGroup,
                            DiscoveryGroupConfiguration configuration)
                            throws java.lang.Exception
Throws:
java.lang.Exception

unregisterDiscoveryGroup

void unregisterDiscoveryGroup(java.lang.String name)
                              throws java.lang.Exception
Throws:
java.lang.Exception

registerBridge

void registerBridge(Bridge bridge,
                    BridgeConfiguration configuration)
                    throws java.lang.Exception
Throws:
java.lang.Exception

unregisterBridge

void unregisterBridge(java.lang.String name)
                      throws java.lang.Exception
Throws:
java.lang.Exception

registerCluster

void registerCluster(ClusterConnection cluster,
                     ClusterConnectionConfiguration configuration)
                     throws java.lang.Exception
Throws:
java.lang.Exception

unregisterCluster

void unregisterCluster(java.lang.String name)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getResource

java.lang.Object getResource(java.lang.String resourceName)

handleMessage

ServerMessage handleMessage(ServerMessage message)
                            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.