org.jgroups.jmx
Class JChannelFactory
java.lang.Object
org.jgroups.jmx.JChannelFactory
- All Implemented Interfaces:
- javax.management.MBeanRegistration, JChannelFactoryMBean
public class JChannelFactory
- extends java.lang.Object
- implements JChannelFactoryMBean, javax.management.MBeanRegistration
- Version:
- $Id: JChannelFactory.java,v 1.7.2.1 2007/11/28 11:39:58 belaban Exp $
- Author:
- Bela Ban
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JChannelFactory
public JChannelFactory(JChannelFactory factory)
JChannelFactory
public JChannelFactory()
setMultiplexerConfig
public void setMultiplexerConfig(java.lang.String properties)
throws java.lang.Exception
- Specified by:
setMultiplexerConfig
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
setMultiplexerConfig
public void setMultiplexerConfig(java.lang.String properties,
boolean replace)
throws java.lang.Exception
- Specified by:
setMultiplexerConfig
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
getMultiplexerConfig
public java.lang.String getMultiplexerConfig()
- Specified by:
getMultiplexerConfig
in interface JChannelFactoryMBean
getConfig
public java.lang.String getConfig(java.lang.String stack_name)
throws java.lang.Exception
- Specified by:
getConfig
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
removeConfig
public boolean removeConfig(java.lang.String stack_name)
- Specified by:
removeConfig
in interface JChannelFactoryMBean
clearConfigurations
public void clearConfigurations()
- Specified by:
clearConfigurations
in interface JChannelFactoryMBean
getDomain
public java.lang.String getDomain()
- Specified by:
getDomain
in interface JChannelFactoryMBean
setDomain
public void setDomain(java.lang.String name)
- Specified by:
setDomain
in interface JChannelFactoryMBean
isExposeChannels
public boolean isExposeChannels()
- Specified by:
isExposeChannels
in interface JChannelFactoryMBean
setExposeChannels
public void setExposeChannels(boolean flag)
- Specified by:
setExposeChannels
in interface JChannelFactoryMBean
isExposeProtocols
public boolean isExposeProtocols()
- Specified by:
isExposeProtocols
in interface JChannelFactoryMBean
setExposeProtocols
public void setExposeProtocols(boolean f)
- Specified by:
setExposeProtocols
in interface JChannelFactoryMBean
createMultiplexerChannel
public Channel createMultiplexerChannel(java.lang.String stack_name,
java.lang.String id)
throws java.lang.Exception
- Specified by:
createMultiplexerChannel
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
createMultiplexerChannel
public Channel createMultiplexerChannel(java.lang.String stack_name,
java.lang.String id,
boolean register_for_state_transfer,
java.lang.String substate_id)
throws java.lang.Exception
- Specified by:
createMultiplexerChannel
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
create
public void create()
throws java.lang.Exception
- Specified by:
create
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface JChannelFactoryMBean
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop
in interface JChannelFactoryMBean
destroy
public void destroy()
- Specified by:
destroy
in interface JChannelFactoryMBean
dumpConfiguration
public java.lang.String dumpConfiguration()
- Specified by:
dumpConfiguration
in interface JChannelFactoryMBean
dumpChannels
public java.lang.String dumpChannels()
- Specified by:
dumpChannels
in interface JChannelFactoryMBean
preRegister
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws java.lang.Exception
- Specified by:
preRegister
in interface javax.management.MBeanRegistration
- Throws:
java.lang.Exception
postRegister
public void postRegister(java.lang.Boolean registrationDone)
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
preDeregister
public void preDeregister()
throws java.lang.Exception
- Specified by:
preDeregister
in interface javax.management.MBeanRegistration
- Throws:
java.lang.Exception
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface javax.management.MBeanRegistration
Copyright © 1998-2008 Bela Ban. All Rights Reserved.