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

alesj do-not-reply at jboss.com
Mon Aug 4 09:51:05 EDT 2008


"adrian at jboss.org" wrote : "adrian at jboss.org" wrote : http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Executor.html
  |   | by "injection" on to the kernel.
  |   | 
  | 
  | I meant controller. ;-)
Do we even need a getExecutor method?

  | public interface Controller extends JBossInterface
  | {
  |    ...
  | 
  |    /**
  |     * Get the executor
  |     *
  |     * @return the executor
  |     */
  |    Executor getExecutor();
  | 
  |    /**
  |     * Set the executor
  |     *
  |     * @param executor the executor
  |     */
  |    void setExecutor(Executor executor);
  | }
  | 
Allowing some other MC code to re-use Controller's execution env?

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

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



More information about the jboss-dev-forums mailing list