com.sun.enterprise.container.common.spi.util
Interface ContainerUtil

All Known Implementing Classes:
ContainerUtilImpl

@Contract
public interface ContainerUtil


Method Summary
 CallFlowAgent getCallFlowAgent()
           
 ComponentEnvManager getComponentEnvManager()
          Utility method to return ComponentEnvManager
 InvocationManager getInvocationManager()
          Utility method to get hold of InvocationManager
 Timer getTimer()
          Utility method to return a JDK Timer.
 void scheduleTask(Runnable runnable)
          Utility method to schedule an asynchronous task.
 

Method Detail

getInvocationManager

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 -


Copyright © 2012 GlassFish Community. All Rights Reserved.