@Name(value="org.jboss.seam.jmx.jbossClusterMonitor") @BypassInterceptors @Scope(value=APPLICATION) @Startup @Install(precedence=0, classDependencies="org.jgroups.MembershipListener") public class JBossClusterMonitor extends Object
| Constructor and Description |
|---|
JBossClusterMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
create() |
boolean |
failover() |
static JBossClusterMonitor |
getInstance(javax.servlet.ServletContext ctx) |
boolean |
isClustered() |
boolean |
isJBoss() |
boolean |
isLastNode() |
protected MBeanServer |
locateJBoss() |
boolean |
nodeIsShuttingDown()
Consults the jboss.system:type=Server MBean to determine if this instance
of JBoss AS is currently being shutdown.
|
@Create public void create()
public boolean isClustered()
public boolean nodeIsShuttingDown()
public boolean isLastNode()
public boolean failover()
public boolean isJBoss()
protected MBeanServer locateJBoss()
public static JBossClusterMonitor getInstance(javax.servlet.ServletContext ctx)
Copyright © 2015 Seam Framework. All Rights Reserved.