[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Controller's execution env

alesj do-not-reply at jboss.com
Mon Aug 4 10:32:57 EDT 2008


"alesj" wrote : 
  | I'll leave it on the interface - as you said, programmatic usage is much simpler - while it also makes sense as a spi contract.
  | e.g. Controller has an execution environment ~ executor
Or perhaps we could move these

  |    /**
  |     * Whether the controller is shutdown
  |     * 
  |     * @return true when shutdown
  |     */
  |    boolean isShutdown();
  | 
  |    /**
  |     * Shutdown the controller
  |     */
  |    void shutdown();
  | 
  |    /**
  |     * Get the executor
  |     *
  |     * @return the executor
  |     */
  |    Executor getExecutor();
  | 
  |    /**
  |     * Set the executor
  |     *
  |     * @param executor the executor
  |     */
  |    void setExecutor(Executor executor);
  | 
methods into sub interface.
As they seem to fit the same way we did with MainDeployer and DeployerClient.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168472#4168472

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168472



More information about the jboss-dev-forums mailing list