public class ResourceManagerImpl extends java.lang.Object implements BootstrapContext
| Modifier and Type | Class and Description |
|---|---|
class |
ResourceManagerImpl.TimerImpl |
| Modifier and Type | Method and Description |
|---|---|
static void |
addResource(ResourceAdapter resource)
Adds a resource to the manager.
|
void |
classLoaderDestroy(DynamicClassLoader loader)
Handles the case where a class loader is dropped.
|
void |
classLoaderInit(DynamicClassLoader loader)
Handles the case where a class loader is activated.
|
static ResourceManagerImpl |
create()
Returns the impl.
|
ConnectionPool |
createConnectionPool()
Returns a connection manager
|
static ResourceManagerImpl |
createLocalManager()
Returns the impl.
|
java.util.Timer |
createTimer()
Creates a new Timer instance.
|
void |
destroy()
Closes the resource manager.
|
static ResourceManagerImpl |
getLocalManager()
Returns the impl.
|
WorkManager |
getWorkManager()
Returns a WorkManager instance.
|
XATerminator |
getXATerminator()
Returns an XATerminator.
|
java.lang.String |
toString() |
public static ResourceManagerImpl createLocalManager()
public static ResourceManagerImpl create()
public static ResourceManagerImpl getLocalManager()
public static void addResource(ResourceAdapter resource) throws ConfigException
ConfigExceptionpublic ConnectionPool createConnectionPool()
public WorkManager getWorkManager()
getWorkManager in interface BootstrapContextpublic XATerminator getXATerminator()
getXATerminator in interface BootstrapContextpublic java.util.Timer createTimer()
throws UnavailableException
createTimer in interface BootstrapContextUnavailableExceptionpublic void classLoaderInit(DynamicClassLoader loader)
public void classLoaderDestroy(DynamicClassLoader loader)
public void destroy()
public java.lang.String toString()
toString in class java.lang.Object