Package org.jgroups.jmx
Class JChannelFactory
java.lang.Object
org.jgroups.jmx.JChannelFactory
- All Implemented Interfaces:
MBeanRegistration,JChannelFactoryMBean
- Version:
- $Id: JChannelFactory.java,v 1.7.2.1 2007/11/28 11:39:58 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcreate()createMultiplexerChannel(String stack_name, String id) createMultiplexerChannel(String stack_name, String id, boolean register_for_state_transfer, String substate_id) voiddestroy()booleanbooleanvoidvoidpostRegister(Boolean registrationDone) voidpreRegister(MBeanServer server, ObjectName name) booleanremoveConfig(String stack_name) voidvoidsetExposeChannels(boolean flag) voidsetExposeProtocols(boolean f) voidsetMultiplexerConfig(String properties) voidsetMultiplexerConfig(String properties, boolean replace) voidstart()voidstop()
-
Constructor Details
-
JChannelFactory
-
JChannelFactory
public JChannelFactory()
-
-
Method Details
-
setMultiplexerConfig
- Specified by:
setMultiplexerConfigin interfaceJChannelFactoryMBean- Throws:
Exception
-
setMultiplexerConfig
- Specified by:
setMultiplexerConfigin interfaceJChannelFactoryMBean- Throws:
Exception
-
getMultiplexerConfig
- Specified by:
getMultiplexerConfigin interfaceJChannelFactoryMBean
-
getConfig
- Specified by:
getConfigin interfaceJChannelFactoryMBean- Throws:
Exception
-
removeConfig
- Specified by:
removeConfigin interfaceJChannelFactoryMBean
-
clearConfigurations
public void clearConfigurations()- Specified by:
clearConfigurationsin interfaceJChannelFactoryMBean
-
getDomain
- Specified by:
getDomainin interfaceJChannelFactoryMBean
-
setDomain
- Specified by:
setDomainin interfaceJChannelFactoryMBean
-
isExposeChannels
public boolean isExposeChannels()- Specified by:
isExposeChannelsin interfaceJChannelFactoryMBean
-
setExposeChannels
public void setExposeChannels(boolean flag) - Specified by:
setExposeChannelsin interfaceJChannelFactoryMBean
-
isExposeProtocols
public boolean isExposeProtocols()- Specified by:
isExposeProtocolsin interfaceJChannelFactoryMBean
-
setExposeProtocols
public void setExposeProtocols(boolean f) - Specified by:
setExposeProtocolsin interfaceJChannelFactoryMBean
-
createMultiplexerChannel
- Specified by:
createMultiplexerChannelin interfaceJChannelFactoryMBean- Throws:
Exception
-
createMultiplexerChannel
public Channel createMultiplexerChannel(String stack_name, String id, boolean register_for_state_transfer, String substate_id) throws Exception - Specified by:
createMultiplexerChannelin interfaceJChannelFactoryMBean- Throws:
Exception
-
create
- Specified by:
createin interfaceJChannelFactoryMBean- Throws:
Exception
-
start
- Specified by:
startin interfaceJChannelFactoryMBean- Throws:
Exception
-
stop
public void stop()- Specified by:
stopin interfaceJChannelFactoryMBean
-
destroy
public void destroy()- Specified by:
destroyin interfaceJChannelFactoryMBean
-
dumpConfiguration
- Specified by:
dumpConfigurationin interfaceJChannelFactoryMBean
-
dumpChannels
- Specified by:
dumpChannelsin interfaceJChannelFactoryMBean
-
preRegister
- Specified by:
preRegisterin interfaceMBeanRegistration- Throws:
Exception
-
postRegister
- Specified by:
postRegisterin interfaceMBeanRegistration
-
preDeregister
- Specified by:
preDeregisterin interfaceMBeanRegistration- Throws:
Exception
-
postDeregister
public void postDeregister()- Specified by:
postDeregisterin interfaceMBeanRegistration
-