- java.lang.Object
-
- org.glassfish.jaxb.runtime.api.BridgeContext
-
- Direct Known Subclasses:
BridgeContextImpl
public abstract class BridgeContext extends Object
Deprecated.The caller no longer needs to use this, asBridge
has methods that can work withoutBridgeContext
.Holds thread specific state information forBridge
s, to makeBridge
thread-safe.This object cannot be used concurrently; two threads cannot use the same object with
Bridge
s at the same time, nor a thread can use aBridgeContext
with oneBridge
while the same context is in use by anotherBridge
.BridgeContext
is relatively a heavy-weight object, and therefore it is expected to be cached by the JAX-RPC RI.Subject to change without notice.
- Since:
- 2.0 EA1
- Author:
- Kohsuke Kawaguchi
- See Also:
Bridge
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BridgeContext()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract jakarta.xml.bind.attachment.AttachmentMarshaller
getAttachmentMarshaller()
Deprecated.Gets the lastAttachmentMarshaller
set throughAttachmentMarshaller
.abstract jakarta.xml.bind.attachment.AttachmentUnmarshaller
getAttachmentUnmarshaller()
Deprecated.Gets the lastAttachmentUnmarshaller
set throughAttachmentUnmarshaller
.abstract void
setAttachmentMarshaller(jakarta.xml.bind.attachment.AttachmentMarshaller m)
Deprecated.Sets theAttachmentMarshaller
.abstract void
setAttachmentUnmarshaller(jakarta.xml.bind.attachment.AttachmentUnmarshaller m)
Deprecated.Sets theAttachmentUnmarshaller
.abstract void
setErrorHandler(jakarta.xml.bind.ValidationEventHandler handler)
Deprecated.Registers the error handler that receives unmarshalling/marshalling errors.
-
-
-
Method Detail
-
setErrorHandler
public abstract void setErrorHandler(jakarta.xml.bind.ValidationEventHandler handler)
Deprecated.Registers the error handler that receives unmarshalling/marshalling errors.- Parameters:
handler
- can be null, in which case all errors will be considered fatal.- Since:
- 2.0 EA1
-
setAttachmentMarshaller
public abstract void setAttachmentMarshaller(jakarta.xml.bind.attachment.AttachmentMarshaller m)
Deprecated.Sets theAttachmentMarshaller
.- Since:
- 2.0 EA1
-
setAttachmentUnmarshaller
public abstract void setAttachmentUnmarshaller(jakarta.xml.bind.attachment.AttachmentUnmarshaller m)
Deprecated.Sets theAttachmentUnmarshaller
.- Since:
- 2.0 EA1
-
getAttachmentMarshaller
public abstract jakarta.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()
Deprecated.Gets the lastAttachmentMarshaller
set throughAttachmentMarshaller
.- Since:
- 2.0 EA2
-
getAttachmentUnmarshaller
public abstract jakarta.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
Deprecated.Gets the lastAttachmentUnmarshaller
set throughAttachmentUnmarshaller
.- Since:
- 2.0 EA2
-
-