Package org.apache.catalina.tribes
Interface JmxChannel
-
- All Superinterfaces:
javax.management.MBeanRegistration
- All Known Implementing Classes:
GroupChannel
public interface JmxChannel extends javax.management.MBeanRegistration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetJmxDomain()Return the jmx domain which this channel is registered.java.lang.StringgetJmxPrefix()Return the jmx prefix which will be used with channel ObjectName.booleanisJmxEnabled()If set to true, this channel is registered with jmx.voidsetJmxDomain(java.lang.String jmxDomain)Set the jmx domain which this channel should be registered.voidsetJmxEnabled(boolean jmxEnabled)If set to true, this channel is registered with jmx.voidsetJmxPrefix(java.lang.String jmxPrefix)Set the jmx prefix which will be used with channel ObjectName.
-
-
-
Method Detail
-
isJmxEnabled
boolean isJmxEnabled()
If set to true, this channel is registered with jmx.- Returns:
- true if this channel will be registered with jmx.
-
setJmxEnabled
void setJmxEnabled(boolean jmxEnabled)
If set to true, this channel is registered with jmx.- Parameters:
jmxEnabled- set to true if this channel should be registered with jmx.
-
getJmxDomain
java.lang.String getJmxDomain()
Return the jmx domain which this channel is registered.- Returns:
- jmxDomain
-
setJmxDomain
void setJmxDomain(java.lang.String jmxDomain)
Set the jmx domain which this channel should be registered.- Parameters:
jmxDomain- The jmx domain which this channel should be registered.
-
getJmxPrefix
java.lang.String getJmxPrefix()
Return the jmx prefix which will be used with channel ObjectName.- Returns:
- jmxPrefix
-
setJmxPrefix
void setJmxPrefix(java.lang.String jmxPrefix)
Set the jmx prefix which will be used with channel ObjectName.- Parameters:
jmxPrefix- The jmx prefix which will be used with channel ObjectName.
-
-