Add some duplex property for network connector view

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@608356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-01-03 06:34:40 +00:00
parent e745e0d548
commit 082bbf0f06
4 changed files with 12 additions and 0 deletions

View File

@ -117,6 +117,10 @@ public class BrokerView implements BrokerViewMBean {
public boolean isStatisticsEnabled() {
return broker.getDestinationStatistics().isEnabled();
}
public boolean isPersistent() {
return brokerService.isPersistent();
}
public void terminateJVM(int exitCode) {
System.exit(exitCode);

View File

@ -61,6 +61,8 @@ public interface BrokerViewMBean extends Service {
long getMemoryLimit();
void setMemoryLimit(long limit);
boolean isPersistent();
/**
* Shuts down the JVM.

View File

@ -69,6 +69,10 @@ public class NetworkConnectorView implements NetworkConnectorViewMBean {
public boolean isDynamicOnly() {
return connector.isDynamicOnly();
}
public boolean isDuplex() {
return connector.isDuplex();
}
public void setBridgeTempDestinations(boolean bridgeTempDestinations) {
connector.setBridgeTempDestinations(bridgeTempDestinations);

View File

@ -37,6 +37,8 @@ public interface NetworkConnectorViewMBean extends Service {
boolean isDispatchAsync();
boolean isDynamicOnly();
boolean isDuplex();
void setBridgeTempDestinations(boolean bridgeTempDestinations);