[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: ManagedObjectAttachmentsImpl::transientManagedObjects no

scott.stark@jboss.org do-not-reply at jboss.com
Mon Jul 21 14:00:54 EDT 2008


Both are logically transient and Adrian is saying they should be physically transient as well in terms of the default java serialization behavior. We used to have:


  |    /** The attachments */
  |    private transient Attachments transientAttachments = new AttachmentsImpl();
  |    
  |    /** The managed objects */
  |    private transient Attachments transientManagedObjects =
  |       GeneratedAOPProxyFactory.createProxy(new AttachmentsImpl(), Attachments.class);
  | 

Now transientAttachments exists as ManagedObjectsWithTransientAttachmentsImpl.transientAttachments and is marked transient, and transientManagedObjects exists as ManagedObjectAttachmentsImpl.transientManagedObjects and is not marked transient. Its also no longer an aop proxied instance.


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

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



More information about the jboss-dev-forums mailing list