public abstract class AbstractConnectionManager<ConnectionServiceType extends ConnectionService>
extends java.lang.Object
| Constructor and Description |
|---|
AbstractConnectionManager(java.lang.Class<ConnectionServiceType> clazz,
BundleContext context,
java.lang.String connectionId,
ConnectionInformation connectionInformation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createConnection()
Create a new connection and register it with OSGi
|
protected abstract AbstractConnectionService |
createConnectionService(DriverFactory factory,
ConnectionInformation connectionInformation) |
void |
dispose()
Dispose the tracker and the connection
|
protected void |
disposeConnection()
Revoke the service registration and dispose the service
|
void |
serviceChange( |
public AbstractConnectionManager(java.lang.Class<ConnectionServiceType> clazz, BundleContext context, java.lang.String connectionId, ConnectionInformation connectionInformation)
public void dispose()
public void serviceChange(reference, DriverFactory factory)
protected void createConnection()
protected abstract AbstractConnectionService createConnectionService(DriverFactory factory, ConnectionInformation connectionInformation)
protected void disposeConnection()
Does nothing if there is no current registration
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