public abstract class AbstractDatabaseComponent<T extends DatabaseComponent<?>> extends Object implements DatabaseComponent
| Modifier and Type | Field and Description |
|---|---|
protected ResourceContext<T> |
resourceContext |
| Constructor and Description |
|---|
AbstractDatabaseComponent() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
void |
removeConnection() |
void |
start(ResourceContext resourceContext) |
void |
stop() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAvailabilityprotected ResourceContext<T extends DatabaseComponent<?>> resourceContext
public void start(ResourceContext resourceContext) throws InvalidPluginConfigurationException, Exception
start in interface ResourceComponentInvalidPluginConfigurationExceptionExceptionpublic void stop()
stop in interface ResourceComponentpublic Connection getConnection()
getConnection in interface DatabaseComponentpublic void removeConnection()
removeConnection in interface DatabaseComponentCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.