|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tyrex.resource.ResourceConfig | +--tyrex.resource.jdbc.DataSourceConfig
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 |
|
Constructor Detail |
public DataSourceConfig()
Method Detail |
public void setClassName(java.lang.String className)
name
- The data source class namepublic java.lang.String getClassName()
public java.lang.Object createFactory() throws ResourceException
ResourceConfig
setFactory
.createFactory
in class ResourceConfig
tyrex.resource.ResourceConfig
ResourceException
- An error occured while attempting
to create a new factorypublic Resource createResource(TransactionDomain txDomain) throws ResourceException
ResourceConfig
createResource
in class ResourceConfig
tyrex.resource.ResourceConfig
txDomain
- The transaction domain in which the resource will
be usedResourceException
- An error occured while attempting to
create the resource
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |