|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rhq.plugins.database.AbstractDatabaseComponent<T>
public abstract class AbstractDatabaseComponent<T extends DatabaseComponent>
| Field Summary | |
|---|---|
protected ResourceContext<T> |
resourceContext
|
| Constructor Summary | |
|---|---|
AbstractDatabaseComponent()
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
getConnection()
|
void |
removeConnection()
|
void |
start(ResourceContext resourceContext)
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.rhq.core.pluginapi.availability.AvailabilityFacet |
|---|
getAvailability |
| Field Detail |
|---|
protected ResourceContext<T extends DatabaseComponent> resourceContext
| Constructor Detail |
|---|
public AbstractDatabaseComponent()
| Method Detail |
|---|
public void start(ResourceContext resourceContext)
throws InvalidPluginConfigurationException,
java.lang.Exception
start in interface ResourceComponentInvalidPluginConfigurationException
java.lang.Exceptionpublic void stop()
stop in interface ResourceComponentpublic java.sql.Connection getConnection()
getConnection in interface DatabaseComponentpublic void removeConnection()
removeConnection in interface DatabaseComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||