}
}
public void shutdown ( boolean force ) throws IllegalStateException
{
BaseTransactionManager tm = (BaseTransactionManager) Configuration
.getCompositeTransactionManager ();
if ( tm == null )
return;
try {
tm.shutdown ( force );
tm = null;
// shutdown system executors
TaskManager exec = TaskManager.getInstance();
if ( exec != null ) {
exec.shutdown();