de.netseeker.ejoe.jmx
Class EJServerConfig
java.lang.Object
javax.management.NotificationBroadcasterSupport
de.netseeker.ejoe.jmx.EJServerConfig
- All Implemented Interfaces:
- EJServerConfigMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
public final class EJServerConfig
- extends javax.management.NotificationBroadcasterSupport
- implements EJServerConfigMBean
Simlpe MBean interface implementation to support runtime configuration via JMX
- Since:
- 0.3.9.1
- Author:
- netseeker
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJServerConfig
public EJServerConfig()
EJServerConfig
public EJServerConfig(EJServer ejServer)
- Parameters:
ejServer
-
getNotificationInfo
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
- Overrides:
getNotificationInfo
in class javax.management.NotificationBroadcasterSupport
isNonBlockingIO
public boolean isNonBlockingIO()
- Specified by:
isNonBlockingIO
in interface EJServerConfigMBean
setNonBlockingIO
public void setNonBlockingIO(boolean isNonBlockingIO)
- Specified by:
setNonBlockingIO
in interface EJServerConfigMBean
isPersistentConnections
public boolean isPersistentConnections()
- Specified by:
isPersistentConnections
in interface EJServerConfigMBean
setPersistentConnections
public void setPersistentConnections(boolean isPersistentConnections)
- Specified by:
setPersistentConnections
in interface EJServerConfigMBean
isHttpPackaging
public boolean isHttpPackaging()
- Specified by:
isHttpPackaging
in interface EJServerConfigMBean
setHttpPackaging
public void setHttpPackaging(boolean enable)
- Specified by:
setHttpPackaging
in interface EJServerConfigMBean
isCompression
public boolean isCompression()
- Specified by:
isCompression
in interface EJServerConfigMBean
setCompression
public void setCompression(boolean compression)
- Specified by:
setCompression
in interface EJServerConfigMBean
isRunning
public boolean isRunning()
- Specified by:
isRunning
in interface EJServerConfigMBean
getMaxReadProcessors
public int getMaxReadProcessors()
- Specified by:
getMaxReadProcessors
in interface EJServerConfigMBean
setMaxReadProcessors
public void setMaxReadProcessors(int maxReadProcessors)
- Specified by:
setMaxReadProcessors
in interface EJServerConfigMBean
getMaxWriteProcessors
public int getMaxWriteProcessors()
- Specified by:
getMaxWriteProcessors
in interface EJServerConfigMBean
setMaxWriteProcessors
public void setMaxWriteProcessors(int maxWriteProcessors)
- Specified by:
setMaxWriteProcessors
in interface EJServerConfigMBean
stopEJServer
public void stopEJServer()
- Specified by:
stopEJServer
in interface EJServerConfigMBean
startEJServer
public void startEJServer()
- Specified by:
startEJServer
in interface EJServerConfigMBean
restartEJServer
public void restartEJServer()
- Specified by:
restartEJServer
in interface EJServerConfigMBean
Copyright © 2005-2007 netseeker. All Rights Reserved.