|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbitronix.tm.resource.ResourceLoader
public class ResourceLoader
XA resources pools configurator & loader.
ResourceLoader relies on the optional bitronix.tm.resource.configuration propery to load the
JDBC datasources (PoolingDataSource) and JMS connection factories
(PoolingConnectionFactory) configuration file and create the resources.
When bitronix.tm.resource.configuration is not specified, ResourceLoader is disabled and resources
should be manually created.
| Constructor Summary | |
|---|---|
ResourceLoader()
|
|
| Method Summary | |
|---|---|
Map |
getResources()
Get a Map with the configured uniqueName as key and XAResourceProducer as value. |
int |
init()
Initialize the ResourceLoader and load the resources configuration file specified in bitronix.tm.resource.configuration property. |
void |
shutdown()
Shutdown the service and free all held resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceLoader()
| Method Detail |
|---|
public Map getResources()
XAResourceProducer as value.
XAResourceProducer as value.public int init()
bitronix.tm.resource.configuration property.
public void shutdown()
Service
shutdown in interface Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||