org.drools.marshalling.impl
Class SerializablePlaceholderResolverStrategy
java.lang.Object
org.drools.marshalling.impl.SerializablePlaceholderResolverStrategy
- All Implemented Interfaces:
- org.drools.marshalling.ObjectMarshallingStrategy
public class SerializablePlaceholderResolverStrategy
- extends Object
- implements org.drools.marshalling.ObjectMarshallingStrategy
Nested classes/interfaces inherited from interface org.drools.marshalling.ObjectMarshallingStrategy |
org.drools.marshalling.ObjectMarshallingStrategy.Context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializablePlaceholderResolverStrategy
public SerializablePlaceholderResolverStrategy(org.drools.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
getIndex
public int getIndex()
setIndex
public void setIndex(int index)
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(org.drools.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object)
throws IOException
- Specified by:
marshal
in interface org.drools.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
unmarshal
public Object unmarshal(org.drools.marshalling.ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader)
throws IOException,
ClassNotFoundException
- Specified by:
unmarshal
in interface org.drools.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
ClassNotFoundException
createContext
public org.drools.marshalling.ObjectMarshallingStrategy.Context createContext()
- Specified by:
createContext
in interface org.drools.marshalling.ObjectMarshallingStrategy
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.