| java.lang.Object org.xins.common.manageable.Manageable com.mycompany.petstore.api.DatabaseConnection
DatabaseConnection | public class DatabaseConnection extends Manageable (Code) | | Manageable used to share the connection with the database and execute common
queries.
version: $Revision: 1.14 $ author: Anthony Goubard |
DatabaseConnection | public DatabaseConnection(APIImpl api)(Code) | | Creates a new instance of DatabaseConnection
|
getConnection | Connection getConnection()(Code) | | Gets the connection to the database.
the connection to the database, never null . |
Methods inherited from org.xins.common.manageable.Manageable | final protected void assertUsable() throws IllegalStateException(Code)(Java Doc) final public void bootstrap(PropertyReader properties) throws IllegalStateException, MissingRequiredPropertyException, InvalidPropertyValueException, BootstrapException(Code)(Java Doc) protected void bootstrapImpl(PropertyReader properties) throws MissingRequiredPropertyException, InvalidPropertyValueException, BootstrapException(Code)(Java Doc) final public void deinit() throws IllegalStateException, DeinitializationException(Code)(Java Doc) protected void deinitImpl() throws Throwable(Code)(Java Doc) final public State getState()(Code)(Java Doc) final public void init(PropertyReader properties) throws IllegalStateException, MissingRequiredPropertyException, InvalidPropertyValueException, InitializationException(Code)(Java Doc) protected void initImpl(PropertyReader properties) throws MissingRequiredPropertyException, InvalidPropertyValueException, InitializationException(Code)(Java Doc) final public boolean isBootstrapped()(Code)(Java Doc) final public boolean isUsable()(Code)(Java Doc)
|
|
|