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 TypeMethodDescriptionvoid
void
create()
createMultiplexerChannel
(String stack_name, String id) createMultiplexerChannel
(String stack_name, String id, boolean register_for_state_transfer, String substate_id) void
destroy()
boolean
boolean
void
void
postRegister
(Boolean registrationDone) void
preRegister
(MBeanServer server, ObjectName name) boolean
removeConfig
(String stack_name) void
void
setExposeChannels
(boolean flag) void
setExposeProtocols
(boolean f) void
setMultiplexerConfig
(String properties) void
setMultiplexerConfig
(String properties, boolean replace) void
start()
void
stop()
-
Constructor Details
-
JChannelFactory
-
JChannelFactory
public JChannelFactory()
-
-
Method Details
-
setMultiplexerConfig
- Specified by:
setMultiplexerConfig
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
setMultiplexerConfig
- Specified by:
setMultiplexerConfig
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
getMultiplexerConfig
- Specified by:
getMultiplexerConfig
in interfaceJChannelFactoryMBean
-
getConfig
- Specified by:
getConfig
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
removeConfig
- Specified by:
removeConfig
in interfaceJChannelFactoryMBean
-
clearConfigurations
public void clearConfigurations()- Specified by:
clearConfigurations
in interfaceJChannelFactoryMBean
-
getDomain
- Specified by:
getDomain
in interfaceJChannelFactoryMBean
-
setDomain
- Specified by:
setDomain
in interfaceJChannelFactoryMBean
-
isExposeChannels
public boolean isExposeChannels()- Specified by:
isExposeChannels
in interfaceJChannelFactoryMBean
-
setExposeChannels
public void setExposeChannels(boolean flag) - Specified by:
setExposeChannels
in interfaceJChannelFactoryMBean
-
isExposeProtocols
public boolean isExposeProtocols()- Specified by:
isExposeProtocols
in interfaceJChannelFactoryMBean
-
setExposeProtocols
public void setExposeProtocols(boolean f) - Specified by:
setExposeProtocols
in interfaceJChannelFactoryMBean
-
createMultiplexerChannel
- Specified by:
createMultiplexerChannel
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
createMultiplexerChannel
public Channel createMultiplexerChannel(String stack_name, String id, boolean register_for_state_transfer, String substate_id) throws Exception - Specified by:
createMultiplexerChannel
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
create
- Specified by:
create
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
start
- Specified by:
start
in interfaceJChannelFactoryMBean
- Throws:
Exception
-
stop
public void stop()- Specified by:
stop
in interfaceJChannelFactoryMBean
-
destroy
public void destroy()- Specified by:
destroy
in interfaceJChannelFactoryMBean
-
dumpConfiguration
- Specified by:
dumpConfiguration
in interfaceJChannelFactoryMBean
-
dumpChannels
- Specified by:
dumpChannels
in interfaceJChannelFactoryMBean
-
preRegister
- Specified by:
preRegister
in interfaceMBeanRegistration
- Throws:
Exception
-
postRegister
- Specified by:
postRegister
in interfaceMBeanRegistration
-
preDeregister
- Specified by:
preDeregister
in interfaceMBeanRegistration
- Throws:
Exception
-
postDeregister
public void postDeregister()- Specified by:
postDeregister
in interfaceMBeanRegistration
-