Interface ContainerUtil
- All Known Implementing Classes:
ContainerUtilImpl
@Contract
public interface ContainerUtil
-
Method Summary
Modifier and TypeMethodDescriptionUtility method to return ComponentEnvManagerorg.glassfish.api.invocation.InvocationManagerUtility method to get hold of InvocationManagergetTimer()Utility method to return a JDK Timer.voidscheduleTask(Runnable runnable) Utility method to schedule an asynchronous task.
-
Method Details
-
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
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-
-