Interface ClassResolver
-
- All Known Implementing Classes:
ClassLoaderResolver
public interface ClassResolverAnnotates a resolvesClassinstances to/from an object stream.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidannotateClass(ObjectOutput output, Class<?> targetClass)ClassLoadergetClassLoader()Class<?>resolveClass(ObjectInput input, String className)
-
-
-
Method Detail
-
annotateClass
void annotateClass(ObjectOutput output, Class<?> targetClass) throws IOException
- Throws:
IOException
-
resolveClass
Class<?> resolveClass(ObjectInput input, String className) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
getClassLoader
ClassLoader getClassLoader()
-
-