org.drools.core.marshalling.impl
Class IdentityPlaceholderResolverStrategy
java.lang.Object
org.drools.core.marshalling.impl.IdentityPlaceholderResolverStrategy
- All Implemented Interfaces:
- org.kie.api.marshalling.ObjectMarshallingStrategy
public class IdentityPlaceholderResolverStrategy
- extends Object
- implements org.kie.api.marshalling.ObjectMarshallingStrategy
| Nested classes/interfaces inherited from interface org.kie.api.marshalling.ObjectMarshallingStrategy |
org.kie.api.marshalling.ObjectMarshallingStrategy.Context |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityPlaceholderResolverStrategy
public IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
read
public Object read(ObjectInputStream os)
throws IOException,
ClassNotFoundException
- Specified by:
read in interface org.kie.api.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
ClassNotFoundException
write
public void write(ObjectOutputStream os,
Object object)
throws IOException
- Specified by:
write in interface org.kie.api.marshalling.ObjectMarshallingStrategy
- Throws:
IOException
accept
public boolean accept(Object object)
- Specified by:
accept in interface org.kie.api.marshalling.ObjectMarshallingStrategy
marshal
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object)
- Specified by:
marshal in interface org.kie.api.marshalling.ObjectMarshallingStrategy
unmarshal
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader)
- Specified by:
unmarshal in interface org.kie.api.marshalling.ObjectMarshallingStrategy
createContext
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
- Specified by:
createContext in interface org.kie.api.marshalling.ObjectMarshallingStrategy
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.