On 20/04/2011 22:19, ljnelson wrote:
I just checked the code and it seems we
have two conflict approaches. So
currently the method you are replacing calls:
public ObjectMarshallingStrategyStore
getObjectMarshallingStrategyStore() {
if ( this.marshallingStore == null ) {
this.marshallingStore = new ObjectMarshallingStrategyStore(
(ObjectMarshallingStrategy[]) this.environment.get(
EnvironmentName.OBJECT_MARSHALLING_STRATEGIES ) );
}
return this.marshallingStore;
}
Notice it uses the environment. That means you must inject yoru
strategies into the ENV and they will get picked up.
But on the other hand we clearly made strategies part of the
MarshallingConfiguration which is a member field on DefaultMarshaller
and currently being ignored.
I'm not sure why we have both at this stage, will need to sleep on it to
refresh my mind on the best way forward.
Mark
Best,
Laird
--
View this message in context:
http://drools.46999.n3.nabble.com/Serialization-errors-bug-JBRULES-2976-f...
Sent from the Drools: Developer (committer) mailing list mailing list archive at
Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev