public interface MarshalFactory
| Modifier and Type | Method and Description |
|---|---|
MarshalInstanceInput |
createMarshalInput(InputStream objIn,
InputStream locIn,
ClassLoader defaultLoader,
boolean verifyCodebaseIntegrity,
ClassLoader verifierLoader,
Collection context) |
MarshalInstanceOutput |
createMarshalOutput(OutputStream objOut,
OutputStream locOut,
Collection context) |
MarshalInstanceInput createMarshalInput(InputStream objIn, InputStream locIn, ClassLoader defaultLoader, boolean verifyCodebaseIntegrity, ClassLoader verifierLoader, Collection context) throws IOException
objIn - InputStream to read serialized objects from.locIn - InputStream to read codebase annotations from, optional.defaultLoader - the class loader value (possibly
null) to pass as the defaultLoader
argument to RMIClassLoader methodsverifyCodebaseIntegrity - if true then
codebase integrity is verified, otherwise code base
integrity is not verifiedverifierLoader - the class loader value (possibly
null) to pass to Security.verifyCodebaseIntegrity, if
verifyCodebaseIntegrity is truecontext - the collection of context information objects or
nullIOException - if an
IOException occurs while creating the
MarshalInstanceInput.MarshalInstanceOutput createMarshalOutput(OutputStream objOut, OutputStream locOut, Collection context) throws IOException
objOut - the output stream to write objects to.locOut - the output stream to write annotations to.context - the collection of context information objects or
nullIOException - if an
IOException occurs while creating the
MarshalInstanceOutput.Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.