public abstract class AbstractConnectionManager
extends java.lang.Object
| Constructor and Description |
|---|
AbstractConnectionManager(BundleContext context,
ConnectionInformation connectionInformation,
java.lang.String connectionId,
java.lang.Integer autoReconnectDelay,
boolean initialOpen) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequest(ConnectionRequest request) |
protected abstract AbstractConnectionService |
createConnection() |
void |
dispose()
Dispose the tracker and the connection
|
protected void |
disposeConnection()
Revoke the service registration and dispose the service
|
java.lang.Integer |
getAutoReconnectDelay() |
ConnectionInformation |
getConnectionInformation() |
DriverFactory |
getFactory() |
protected abstract java.util.Set<java.lang.String> |
getInterfaces() |
boolean |
isIdle() |
boolean |
isInitialOpen() |
void |
removeRequest(ConnectionRequest request) |
void |
serviceChange( |
void |
update(ConnectionInformation connectionInformation) |
public AbstractConnectionManager(BundleContext context,
ConnectionInformation connectionInformation,
java.lang.String connectionId,
java.lang.Integer autoReconnectDelay,
boolean initialOpen)
public java.lang.Integer getAutoReconnectDelay()
public boolean isInitialOpen()
public DriverFactory getFactory()
public ConnectionInformation getConnectionInformation()
public void dispose()
public void update(ConnectionInformation connectionInformation)
public void serviceChange(reference, DriverFactory factory)
protected abstract AbstractConnectionService createConnection()
protected abstract java.util.Set<java.lang.String> getInterfaces()
protected void disposeConnection()
Does nothing if there is no current registration
public void addRequest(ConnectionRequest request)
public void removeRequest(ConnectionRequest request)
public boolean isIdle()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0