01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.io.serializer.api;
05:
06: import java.io.IOException;
07: import java.io.ObjectInput;
08: import java.io.ObjectOutput;
09:
10: public interface SerializerPolicy {
11:
12: public Serializer getSerializerFor(Object o, ObjectOutput out)
13: throws IOException;
14:
15: public Serializer getSerializerFor(ObjectInput in)
16: throws IOException;
17: }
|