2 Replies Latest reply: Mar 5, 2013 10:10 AM by Brian Oliver RSS

    Incubator commons bug

    691896
      I am trying to use use class factories and I found that
      StaticFactoryClassSchemeBasedParameterizedBuilder does incorrectly
      writeExternal:

      /**
      * {@inheritDoc}
      */
      @Override
      public void writeExternal(PofWriter writer) throws IOException
      {
      writer.writeObject(1, factoryClassName);
      writer.writeObject(2, factoryMethodName);
      writer.writeObject(2, parameters);
      }
      when it should be writer.writeObject(3,parameters) (in readExternal it is 3)
      The reason of using is that I want to do this:

      <event:conflict-resolver-scheme>
      <class-scheme>

      <class-factory-name>com.oracle.coherence.examples.incubator.pushreplicationpattern.activeactive.ExampleFactory</class-factory-name>

      <method-name>createTest</method-name>
      </class-scheme>
      </event:conflict-resolver-scheme>

      Is there a way of avoiding conflict-resolver-scheme to serialize the
      classSchemeBuilder?

      Thanks in advance,
      Mikel.