geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/config Configuration.java
Date Fri, 23 Jan 2004 16:44:52 GMT
jboynes     2004/01/23 08:44:52

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/config
                        Configuration.java
  Log:
  Expose persistence so the ModuleDeployer can use it
  
  Revision  Changes    Path
  1.6       +3 -3      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java
  
  Index: Configuration.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/config/Configuration.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Configuration.java	22 Jan 2004 02:46:27 -0000	1.5
  +++ Configuration.java	23 Jan 2004 16:44:52 -0000	1.6
  @@ -295,7 +295,7 @@
           }
       }
   
  -    static void loadGMBeanState(GBeanMBean gbean, ObjectInputStream ois) throws IOException,
AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException,
ClassNotFoundException {
  +    public static void loadGMBeanState(GBeanMBean gbean, ObjectInputStream ois) throws
IOException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException,
ClassNotFoundException {
           int attributeCount = ois.readInt();
           for (int i = 0; i < attributeCount; i ++) {
               gbean.setAttribute((String)ois.readObject(), ois.readObject());
  @@ -332,7 +332,7 @@
           return baos.toByteArray();
       }
   
  -    static void storeGMBeanState(GBeanMBean gbean, ObjectOutputStream oos) throws IOException,
AttributeNotFoundException, MBeanException, ReflectionException {
  +    public static void storeGMBeanState(GBeanMBean gbean, ObjectOutputStream oos) throws
IOException, AttributeNotFoundException, MBeanException, ReflectionException {
           List persistentAttributes = gbean.getGBeanInfo().getPersistentAttributes();
           oos.writeInt(persistentAttributes.size());
           for (Iterator j = persistentAttributes.iterator(); j.hasNext();) {
  
  
  

Mime
View raw message