|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.common.pooling.jdbc.JDBCConnectionResourceAdapter
public class JDBCConnectionResourceAdapter
Constructor Summary | |
---|---|
JDBCConnectionResourceAdapter()
|
Method Summary | |
---|---|
void |
closePhyicalResourceObject(Resource resource)
Called to have the adpater have the resource object close itself. |
java.lang.Object |
createPhysicalResourceObject(ResourceDescriptor descriptor)
Creates a specific resource based on the descriptor. |
Resource |
createResource(java.lang.Object physicalResource)
Creates the Resource specific wrapper that will contain
the physicalResource. |
boolean |
isDecryptRequired()
Returns the decryptRequired. |
protected void |
setDecryptRequired(boolean decryptRequired)
Sets the decryptRequired. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCConnectionResourceAdapter()
Method Detail |
---|
public Resource createResource(java.lang.Object physicalResource) throws ResourcePoolException
ResourceAdapter
Resource
specific wrapper that will contain
the physicalResource.
createResource
in interface ResourceAdapter
physicalResource
- that will be contained in the wrapper
ResourcePoolException
- if an error occurs wrapping the physical resourcepublic java.lang.Object createPhysicalResourceObject(ResourceDescriptor descriptor) throws ResourcePoolException
ResourceAdapter
createPhysicalResourceObject
in interface ResourceAdapter
ResourcePoolException
- if an error occurs creating the resourcepublic void closePhyicalResourceObject(Resource resource) throws ResourcePoolException
ResourceAdapter
closePhyicalResourceObject
in interface ResourceAdapter
ResourcePoolException
- if an error occurs closing resource object.public boolean isDecryptRequired()
protected void setDecryptRequired(boolean decryptRequired)
decryptRequired
- The decryptRequired to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |