...
Sample code
wsnoheto.tools.Gate myGate = wsnoheto.engine.ObjectPoolManager.getOrCreateApplicationGate("myAppGate");
myGate.enter();
try {
... my code ...
} finally {
myGate.leave();
}
...
wsnoheto.tools.Gate myGate = wsnoheto.engine.ObjectPoolManager.getOrCreateApplicationGate("myAppGate");
myGate.enter();
try {
... my code ...
} finally {
myGate.leave();
}