org.infinispan.jopr
Class ConnectionHelper
java.lang.Object
org.infinispan.jopr.ConnectionHelper
public class ConnectionHelper
- extends Object
Shared helper class to connect to a remote server
- Author:
- Jay Shaughnessy, Heiko W. Rupp
Method Summary |
void |
closeConnection()
If necessary attempt to close the EMS connection, then set this.connection null. |
org.mc4j.ems.connection.EmsConnection |
getEmsConnection(org.rhq.core.domain.configuration.Configuration config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionHelper
public ConnectionHelper()
getEmsConnection
public org.mc4j.ems.connection.EmsConnection getEmsConnection(org.rhq.core.domain.configuration.Configuration config)
closeConnection
public void closeConnection()
- If necessary attempt to close the EMS connection, then set this.connection null. Synchronized ensure we play well
with loadConnection.
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.