Methods Summary |
---|
public java.util.Timer | createTimer()Creates a java.util.Timer instance.
This can cause a problem, since the timer threads are not actually
under appserver control. We should override the timer later.
return new Timer();
|
public javax.resource.spi.work.WorkManager | getWorkManager()Retrieves the work manager.
if (wm == null) {
try {
wm = WorkManagerFactory.getWorkManager(poolId);
} catch(Exception e) {
logger.log(Level.SEVERE, "workmanager.instantiation_error", e);
}
}
return wm;
|
public javax.resource.spi.XATerminator | getXATerminator()Retrieves the XATerminator object.
if (xa == null) {
xa = Switch.getSwitch().getTransactionManager().getXATerminator();
}
return xa;
|