org.jboss.messaging.core.jmx
Class MessagingPostOfficeService

java.lang.Object
  extended by ServiceMBeanSupport
      extended by org.jboss.messaging.core.jmx.JDBCServiceSupport
          extended by org.jboss.messaging.core.jmx.MessagingPostOfficeService

public class MessagingPostOfficeService
extends JDBCServiceSupport

A MessagingPostOfficeService MBean wrapper for a messaging post office

Version:
$Revision: 2684 $ $Id: ClusteredPostOfficeService.java 2684 2007-05-15 07:31:30Z timfox $
Author:
Tim Fox, Ovidiu Feodorov

Field Summary
 
Fields inherited from class org.jboss.messaging.core.jmx.JDBCServiceSupport
createTablesOnStartup, ds, sqlProperties
 
Constructor Summary
MessagingPostOfficeService()
           
 
Method Summary
 void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object object)
           
 long getCastTimeout()
           
 javax.management.ObjectName getChannelFactoryName()
           
 java.lang.String getChannelPartitionName()
           
 org.w3c.dom.Element getControlChannelConfig()
           
 java.lang.String getControlChannelName()
           
 org.w3c.dom.Element getDataChannelConfig()
           
 java.lang.String getDataChannelName()
           
 java.lang.String getGroupName()
           
 MessagingComponent getInstance()
           
 int getMaxConcurrentReplications()
           
 java.util.Set getNodeIDView()
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
 java.lang.String getPostOfficeName()
           
 javax.management.ObjectName getServerPeer()
           
 long getStateTimeout()
           
 boolean isClustered()
           
 java.lang.String listBindings()
           
 void removeNotificationListener(javax.management.NotificationListener listener)
           
 void setCastTimeout(long timeout)
           
 void setChannelFactoryName(javax.management.ObjectName channelFactoryName)
           
 void setChannelPartitionName(java.lang.String channelPartitionName)
           
 void setClustered(boolean clustered)
           
 void setControlChannelConfig(org.w3c.dom.Element config)
           
 void setControlChannelName(java.lang.String controlChannelName)
           
 void setDataChannelConfig(org.w3c.dom.Element config)
           
 void setDataChannelName(java.lang.String dataChannelName)
           
 void setGroupName(java.lang.String groupName)
           
 void setMaxConcurrentReplications(int number)
           
 void setPostOfficeName(java.lang.String name)
           
 void setServerPeer(javax.management.ObjectName on)
           
 void setStateTimeout(long timeout)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.messaging.core.jmx.JDBCServiceSupport
getDataSource, getSqlProperties, getTransactionManager, getTransactionManagerReference, isCreateTablesOnStartup, setCreateTablesOnStartup, setDataSource, setSqlProperties, setTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagingPostOfficeService

public MessagingPostOfficeService()
Method Detail

getInstance

public MessagingComponent getInstance()

addNotificationListener

public void addNotificationListener(javax.management.NotificationListener listener,
                                    javax.management.NotificationFilter filter,
                                    java.lang.Object object)
                             throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

removeNotificationListener

public void removeNotificationListener(javax.management.NotificationListener listener)
                                throws javax.management.ListenerNotFoundException
Throws:
javax.management.ListenerNotFoundException

getNotificationInfo

public javax.management.MBeanNotificationInfo[] getNotificationInfo()

getServerPeer

public javax.management.ObjectName getServerPeer()

setServerPeer

public void setServerPeer(javax.management.ObjectName on)

getPostOfficeName

public java.lang.String getPostOfficeName()

setPostOfficeName

public void setPostOfficeName(java.lang.String name)

getChannelFactoryName

public javax.management.ObjectName getChannelFactoryName()

setChannelFactoryName

public void setChannelFactoryName(javax.management.ObjectName channelFactoryName)

getControlChannelName

public java.lang.String getControlChannelName()

setControlChannelName

public void setControlChannelName(java.lang.String controlChannelName)

getDataChannelName

public java.lang.String getDataChannelName()

setDataChannelName

public void setDataChannelName(java.lang.String dataChannelName)

getChannelPartitionName

public java.lang.String getChannelPartitionName()

setChannelPartitionName

public void setChannelPartitionName(java.lang.String channelPartitionName)

setControlChannelConfig

public void setControlChannelConfig(org.w3c.dom.Element config)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getControlChannelConfig

public org.w3c.dom.Element getControlChannelConfig()

setDataChannelConfig

public void setDataChannelConfig(org.w3c.dom.Element config)
                          throws java.lang.Exception
Throws:
java.lang.Exception

getDataChannelConfig

public org.w3c.dom.Element getDataChannelConfig()

setStateTimeout

public void setStateTimeout(long timeout)

getStateTimeout

public long getStateTimeout()

setCastTimeout

public void setCastTimeout(long timeout)

getCastTimeout

public long getCastTimeout()

setGroupName

public void setGroupName(java.lang.String groupName)

getGroupName

public java.lang.String getGroupName()

isClustered

public boolean isClustered()

setClustered

public void setClustered(boolean clustered)

getMaxConcurrentReplications

public int getMaxConcurrentReplications()

setMaxConcurrentReplications

public void setMaxConcurrentReplications(int number)

listBindings

public java.lang.String listBindings()

getNodeIDView

public java.util.Set getNodeIDView()

startService

protected void startService()
                     throws java.lang.Exception
Overrides:
startService in class JDBCServiceSupport
Throws:
java.lang.Exception

stopService

protected void stopService()
                    throws java.lang.Exception
Overrides:
stopService in class JDBCServiceSupport
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.