|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
Interface for generic resource implementations.
Copyright: Delta Vortex Technologies, 2003.
Method Summary | |
---|---|
void |
initialize(java.util.Properties props)
Initialize Resource. |
boolean |
isValid()
Tests validity of Resource. |
void |
terminate()
Terminate Resource. |
Method Detail |
---|
void initialize(java.util.Properties props) throws ResourceException
The properties are intended to be anything the resource might need to function properly. For example, pooled JDBC connections need to know the driver name, connection URL, userid and password.
Resource
- Creation Properties
ResourceException
void terminate() throws ResourceException
For example, pooled JDBC connections need to issue a close().
ResourceException
boolean isValid() throws ResourceException
ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |