[jboss-cvs] JBossAS SVN: r58274 - projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Nov 11 20:46:16 EST 2006


Author: scott.stark at jboss.org
Date: 2006-11-11 20:46:12 -0500 (Sat, 11 Nov 2006)
New Revision: 58274

Modified:
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ClassPathInfoImpl.java
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ComponentDeploymentContext.java
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ContextInfoImpl.java
   projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/StructureMetaDataImpl.java
Log:
Implement serializable

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ClassPathInfoImpl.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ClassPathInfoImpl.java	2006-11-12 01:35:58 UTC (rev 58273)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ClassPathInfoImpl.java	2006-11-12 01:46:12 UTC (rev 58274)
@@ -21,6 +21,7 @@
  */
 package org.jboss.deployers.plugins.structure;
 
+import java.io.Serializable;
 import java.util.HashMap;
 import java.util.Map;
 
@@ -33,8 +34,11 @@
  * @author Scott.Stark at jboss.org
  * @version $Revision:$
  */
-public class ClassPathInfoImpl implements ClassPathInfo
+public class ClassPathInfoImpl
+   implements ClassPathInfo, Serializable
 {
+   private static final long serialVersionUID = 1;
+
    private String path;
    private HashMap options = new HashMap();
 

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ComponentDeploymentContext.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ComponentDeploymentContext.java	2006-11-12 01:35:58 UTC (rev 58273)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ComponentDeploymentContext.java	2006-11-12 01:46:12 UTC (rev 58274)
@@ -21,6 +21,7 @@
 */
 package org.jboss.deployers.plugins.structure;
 
+import java.io.Serializable;
 import java.util.Collections;
 import java.util.List;
 import java.util.Set;
@@ -44,8 +45,11 @@
  * @author <a href="adrian at jboss.com">Adrian Brock</a>
  * @version $Revision: 1.1 $
  */
-public class ComponentDeploymentContext implements DeploymentContext
+public class ComponentDeploymentContext
+   implements DeploymentContext, Serializable
 {
+   private static final long serialVersionUID = 1;
+
    /** The log */
    protected Logger log = Logger.getLogger(getClass());
    
@@ -62,10 +66,10 @@
    private Set<DeploymentContext> components = new CopyOnWriteArraySet<DeploymentContext>();
    
    /** The attachments */
-   private Attachments transientAttachments = new AttachmentsImpl();
+   private transient Attachments transientAttachments = new AttachmentsImpl();
    
    /** The managed objects */
-   private Attachments transientManagedObjects = new AttachmentsImpl();
+   private transient Attachments transientManagedObjects = new AttachmentsImpl();
 
    /**
     * Create a new ComponentDeploymentContext.

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ContextInfoImpl.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ContextInfoImpl.java	2006-11-12 01:35:58 UTC (rev 58273)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/ContextInfoImpl.java	2006-11-12 01:46:12 UTC (rev 58274)
@@ -21,6 +21,7 @@
  */
 package org.jboss.deployers.plugins.structure;
 
+import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;
 
@@ -28,13 +29,16 @@
 import org.jboss.deployers.spi.structure.vfs.ContextInfo;
 
 /**
+ * Represents a deployment context in the vfs.
  * 
  * @author Scott.Stark at jboss.org
  * @version $Revision:$
  */
 public class ContextInfoImpl
-   implements ContextInfo
+   implements ContextInfo, Serializable
 {
+   private static final long serialVersionUID = 1;
+
    private String vfsPath;
    private String metaDataPath;
    private ContextInfo parent;

Modified: projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/StructureMetaDataImpl.java
===================================================================
--- projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/StructureMetaDataImpl.java	2006-11-12 01:35:58 UTC (rev 58273)
+++ projects/microcontainer/trunk/deployers/src/main/org/jboss/deployers/plugins/structure/StructureMetaDataImpl.java	2006-11-12 01:46:12 UTC (rev 58274)
@@ -21,6 +21,7 @@
  */
 package org.jboss.deployers.plugins.structure;
 
+import java.io.Serializable;
 import java.util.Comparator;
 import java.util.HashMap;
 import java.util.SortedSet;
@@ -35,8 +36,11 @@
  * @author Scott.Stark at jboss.org
  * @version $Revision:$
  */
-public class StructureMetaDataImpl implements StructureMetaData
+public class StructureMetaDataImpl
+   implements StructureMetaData, Serializable
 {
+   private static final long serialVersionUID = 1;
+
    private HashMap<String, ContextInfo> contextMap =
       new HashMap<String, ContextInfo>();
    private TreeSet<ContextInfo> contextSet = new  TreeSet<ContextInfo>(new ContextComparator());




More information about the jboss-cvs-commits mailing list