public class SimpleMarshallingContext extends Object implements MarshallingContext
| Constructor and Description |
|---|
SimpleMarshallingContext(org.jboss.marshalling.MarshallerFactory factory,
VersionedMarshallingConfiguration configuration,
ClassLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.marshalling.Marshaller |
createMarshaller(int version) |
org.jboss.marshalling.Unmarshaller |
createUnmarshaller(int version) |
ClassLoader |
getClassLoader() |
int |
getCurrentVersion() |
public SimpleMarshallingContext(org.jboss.marshalling.MarshallerFactory factory,
VersionedMarshallingConfiguration configuration,
ClassLoader loader)
public ClassLoader getClassLoader()
getClassLoader in interface MarshallingContextpublic int getCurrentVersion()
getCurrentVersion in interface MarshallingContextpublic org.jboss.marshalling.Unmarshaller createUnmarshaller(int version)
throws IOException
createUnmarshaller in interface MarshallingContextIOExceptionpublic org.jboss.marshalling.Marshaller createMarshaller(int version)
throws IOException
createMarshaller in interface MarshallingContextIOExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.