|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.resource.ResourceConfig tyrex.resource.jdbc.DataSourceConfig
Field Summary |
Fields inherited from class tyrex.resource.ResourceConfig |
_factory, _jar, _limits, _name, _paths, _twoPhase |
Constructor Summary | |
DataSourceConfig()
|
Method Summary | |
java.lang.Object |
createFactory()
Called to create a new factory object for the purpose of configuring it. |
Resource |
createResource(TransactionDomain txDomain)
Called to create a new resource from this resource configuration. |
java.lang.String |
getClassName()
Returns the name for the data source class. |
void |
setClassName(java.lang.String className)
Sets the name for the data source class. |
Methods inherited from class tyrex.resource.ResourceConfig |
getFactory, getJAR, getLimits, getName, getPaths, getTwoPhase, getURL, setFactory, setJAR, setLimits, setName, setPaths, setTwoPhase |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceConfig()
Method Detail |
public void setClassName(java.lang.String className)
public java.lang.String getClassName()
public java.lang.Object createFactory() throws ResourceException
ResourceConfig
setFactory
.
createFactory
in class ResourceConfig
ResourceException
- An error occured while attempting
to create a new factorypublic Resource createResource(TransactionDomain txDomain) throws ResourceException
ResourceConfig
createResource
in class ResourceConfig
txDomain
- The transaction domain in which the resource will
be used
ResourceException
- An error occured while attempting to
create the resource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |