[jboss-dev-forums] [Design the new POJO MicroContainer] - ManagedObjectAttachmentsImpl::transientManagedObjects not tr
alesj
do-not-reply at jboss.com
Sat Jul 19 06:46:09 EDT 2008
Looking at this
| public class ManagedObjectAttachmentsImpl extends PredeterminedManagedObjectAttachmentsImpl implements ManagedObjectAttachments
| {
| /** The serialVersionUID */
| private static final long serialVersionUID = -195530143173768763L;
|
| /** The transient managed objects */
| private MutableAttachments transientManagedObjects = AttachmentsFactory.createMutableAttachments();
|
| public MutableAttachments getTransientManagedObjects()
| {
| return transientManagedObjects;
| }
|
| public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
| {
| super.readExternal(in);
| transientManagedObjects = (MutableAttachments) in.readObject();
| }
|
| /**
| * @serialData attachments
| * @param out the output
| * @throws IOException for any error
| */
| public void writeExternal(ObjectOutput out) throws IOException
| {
| super.writeExternal(out);
| out.writeObject(transientManagedObjects);
| }
| }
|
what's transient about it, except for the name? :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165482#4165482
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165482
More information about the jboss-dev-forums
mailing list