org.infinispan.jopr
Class ConnectionHelper

java.lang.Object
  extended by org.infinispan.jopr.ConnectionHelper

public class ConnectionHelper
extends Object

Shared helper class to connect to a remote server

Author:
Jay Shaughnessy, Heiko W. Rupp

Constructor Summary
ConnectionHelper()
           
 
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
 

Constructor Detail

ConnectionHelper

public ConnectionHelper()
Method Detail

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.


Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.