[jboss-dev-forums] [Design of POJO Server] - Re: Contract ejb3-interceptors and bean-factory

adrian@jboss.org do-not-reply at jboss.com
Mon Mar 31 10:16:41 EDT 2008


"wolfc" wrote :  If we want to move more AOP then the real fix is to have a proper instance advisor.)
  | 

Sounds to me like you know where the real problem lies?

Maybe we need an InstanceContext / BeanContext from the StatelessObjectFactory:
Factory<T> {
  |   BeanContext<T> create();
  | };
  | 
  | BeanContext<T> {
  |    T getInstance();
  | 
  |    <A> A getAttachment(Object key, Class<A> attachmentType);
  | }

Does MC have such a thing?


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

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



More information about the jboss-dev-forums mailing list