|
Joram 5.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.local.LocalConnections
public class LocalConnections
Class used to check off local connections.
Constructor Summary | |
---|---|
LocalConnections()
|
Method Summary | |
---|---|
void |
activate()
Activates the connection manager. |
void |
addLocalConnection(LocalRequestChannel localRequestChannel)
|
void |
closeAllConnections()
Closes all opened connections. |
void |
deactivate()
Deactivates the connection manager. |
static LocalConnections |
getCurrentInstance()
|
int |
getFailedLoginCount()
Gets the number of connections rejected due to a failed authentication. |
int |
getInitiatedConnectionCount()
Gets the number of initiated connections since server start. |
java.lang.String |
getMBeanName()
Gets the name of the MBean. |
int |
getRunningConnectionsCount()
Gets the number of living connections. |
void |
increaseFailedLoginCount()
|
void |
increaseInitiatedConnectionCount()
|
boolean |
isActivated()
Tells if the ConnectionManager is active. |
void |
removeLocalConnection(LocalRequestChannel localRequestChannel)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalConnections()
Method Detail |
---|
public void activate()
ConnectionManagerMBean
activate
in interface ConnectionManagerMBean
public void closeAllConnections()
ConnectionManagerMBean
closeAllConnections
in interface ConnectionManagerMBean
public void deactivate()
ConnectionManagerMBean
deactivate
in interface ConnectionManagerMBean
public int getRunningConnectionsCount()
ConnectionManagerMBean
getRunningConnectionsCount
in interface ConnectionManagerMBean
public boolean isActivated()
ConnectionManagerMBean
isActivated
in interface ConnectionManagerMBean
public void addLocalConnection(LocalRequestChannel localRequestChannel)
public void removeLocalConnection(LocalRequestChannel localRequestChannel)
public static LocalConnections getCurrentInstance()
public java.lang.String getMBeanName()
ConnectionManagerMBean
getMBeanName
in interface ConnectionManagerMBean
public int getFailedLoginCount()
ConnectionManagerMBean
getFailedLoginCount
in interface ConnectionManagerMBean
public void increaseFailedLoginCount()
public int getInitiatedConnectionCount()
ConnectionManagerMBean
getInitiatedConnectionCount
in interface ConnectionManagerMBean
public void increaseInitiatedConnectionCount()
|
Joram 5.3.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |