[jboss-dev-forums] [Design of POJO Server] - Re: Contract ejb3-interceptors and bean-factory (Repost)
adrian@jboss.org
do-not-reply at jboss.com
Mon Mar 31 10:17:43 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?
anonymous wrote :
| 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?
|
I don't know what you mean? Why would the MC know anything about
the BeanContext instances? The only thing it manages is the factory.
It's like saying if you deploy the TransactionManager using the MC
does it know anything about the transactions? :-)
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