org.drools.marshalling.impl
Class IdentityPlaceholderResolverStrategy

java.lang.Object
  extended by org.drools.marshalling.impl.IdentityPlaceholderResolverStrategy
All Implemented Interfaces:
org.drools.marshalling.ObjectMarshallingStrategy

public class IdentityPlaceholderResolverStrategy
extends Object
implements org.drools.marshalling.ObjectMarshallingStrategy


Constructor Summary
IdentityPlaceholderResolverStrategy(org.drools.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
           
 
Method Summary
 boolean accept(Object object)
           
 byte[] marshal(ObjectOutputStream os, Object object)
           
 Object read(ObjectInputStream os)
           
 Object unmarshal(ObjectInputStream os, byte[] object, ClassLoader classloader)
           
 void write(ObjectOutputStream os, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityPlaceholderResolverStrategy

public IdentityPlaceholderResolverStrategy(org.drools.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
Method Detail

read

public Object read(ObjectInputStream os)
            throws IOException,
                   ClassNotFoundException
Specified by:
read in interface org.drools.marshalling.ObjectMarshallingStrategy
Throws:
IOException
ClassNotFoundException

write

public void write(ObjectOutputStream os,
                  Object object)
           throws IOException
Specified by:
write in interface org.drools.marshalling.ObjectMarshallingStrategy
Throws:
IOException

accept

public boolean accept(Object object)
Specified by:
accept in interface org.drools.marshalling.ObjectMarshallingStrategy

marshal

public byte[] marshal(ObjectOutputStream os,
                      Object object)
Specified by:
marshal in interface org.drools.marshalling.ObjectMarshallingStrategy

unmarshal

public Object unmarshal(ObjectInputStream os,
                        byte[] object,
                        ClassLoader classloader)
Specified by:
unmarshal in interface org.drools.marshalling.ObjectMarshallingStrategy


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.