Interface ContainerUtil
-
- All Known Implementing Classes:
ContainerUtilImpl
@Contract public interface ContainerUtil
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CallFlowAgentgetCallFlowAgent()ComponentEnvManagergetComponentEnvManager()Utility method to return ComponentEnvManagerorg.glassfish.api.invocation.InvocationManagergetInvocationManager()Utility method to get hold of InvocationManagerTimergetTimer()Utility method to return a JDK Timer.voidscheduleTask(Runnable runnable)Utility method to schedule an asynchronous task.
-
-
-
Method Detail
-
getInvocationManager
org.glassfish.api.invocation.InvocationManager getInvocationManager()
Utility method to get hold of InvocationManager- Returns:
- InvocationManager
-
getComponentEnvManager
ComponentEnvManager getComponentEnvManager()
Utility method to return ComponentEnvManager- Returns:
- ComponentEnvManager
-
getCallFlowAgent
CallFlowAgent getCallFlowAgent()
-
getTimer
Timer getTimer()
Utility method to return a JDK Timer. Containers must use this timer instead of creating their own- Returns:
- Timer
-
scheduleTask
void scheduleTask(Runnable runnable)
Utility method to schedule an asynchronous task. The implementation will prbaby choose a worker thread from a threadpool and execute the given runnable using the thread.- Parameters:
runnable-
-
-