|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Connector
interface for all Connector classes.
| Method Summary | |
|---|---|
void |
connect()
makes initial connection to entity |
void |
disconnect()
closes connection to entity |
java.lang.Object |
getConnection()
Get connection implementation specific object. |
boolean |
isActive()
May be used by DispatcherFailover [DFO] implementations to ascertain whether a connection is currently viable. |
void |
start()
starts the connection to entity |
void |
stop()
stops the connection to entity |
| Methods inherited from interface com.createtank.elemenope.ElemenopeComponent |
|---|
releaseComponents, setComponents, setConfigurationAttributes |
| Methods inherited from interface com.createtank.elemenope.ElemenopeConnectionEntity |
|---|
getConnectionAttributes, setConnectionAttributes |
| Method Detail |
|---|
java.lang.Object getConnection()
throws ElemenopeException
Used by some implementations to pass connection for use by Broker or Dispatcher.
ElemenopeException
void connect()
throws ElemenopeConnectionException
java.lang.Exception - Exception thrown when problems occur connecting.
ElemenopeConnectionException
void disconnect()
throws ElemenopeConnectionException
java.lang.Exception - Exception thrown when problems occur connecting.
ElemenopeConnectionException
void start()
throws ElemenopeConnectionException
java.lang.Exception - Exception thrown when problems occur starting the connection.
ElemenopeConnectionException
void stop()
throws ElemenopeConnectionException
java.lang.Exception - Exception thrown when problems occur starting the connection.
ElemenopeConnectionExceptionboolean isActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||