|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tyrex.resource.ResourceConfig tyrex.resource.jca.Connector
Field Summary |
Fields inherited from class tyrex.resource.ResourceConfig |
_factory, _jar, _limits, _name, _paths, _twoPhase |
Constructor Summary | |
Connector()
|
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. |
void |
setFactory(java.lang.Object factory)
Called to set the factory object after it has been configured. |
Methods inherited from class tyrex.resource.ResourceConfig |
getFactory, getJAR, getLimits, getName, getPaths, getTwoPhase, getURL, 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 Connector()
Method Detail |
public void setFactory(java.lang.Object factory)
setFactory
in class ResourceConfig
factory
- The factory objectpublic 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 |