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 MarshallingContext
public int getCurrentVersion()
getCurrentVersion
in interface MarshallingContext
public org.jboss.marshalling.Unmarshaller createUnmarshaller(int version) throws IOException
createUnmarshaller
in interface MarshallingContext
IOException
public org.jboss.marshalling.Marshaller createMarshaller(int version) throws IOException
createMarshaller
in interface MarshallingContext
IOException
Copyright © 2015 JBoss by Red Hat. All rights reserved.