Bridge has
methods that can work without BridgeContext.public abstract class BridgeContext extends Object
Bridges,
to make Bridge thread-safe.
This object cannot be used concurrently; two threads cannot
use the same object with Bridges at the same time, nor
a thread can use a BridgeContext with one Bridge while
the same context is in use by another Bridge.
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.
Bridge| Modifier | Constructor and Description |
|---|---|
protected |
BridgeContext()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
abstract AttachmentMarshaller |
getAttachmentMarshaller()
Deprecated.
Gets the last
AttachmentMarshaller set through
AttachmentMarshaller. |
abstract AttachmentUnmarshaller |
getAttachmentUnmarshaller()
Deprecated.
Gets the last
AttachmentUnmarshaller set through
AttachmentUnmarshaller. |
abstract void |
setAttachmentMarshaller(AttachmentMarshaller m)
Deprecated.
Sets the
AttachmentMarshaller. |
abstract void |
setAttachmentUnmarshaller(AttachmentUnmarshaller m)
Deprecated.
Sets the
AttachmentUnmarshaller. |
abstract void |
setErrorHandler(ValidationEventHandler handler)
Deprecated.
Registers the error handler that receives unmarshalling/marshalling errors.
|
public abstract void setErrorHandler(ValidationEventHandler handler)
handler - can be null, in which case all errors will be considered fatal.public abstract void setAttachmentMarshaller(AttachmentMarshaller m)
AttachmentMarshaller.public abstract void setAttachmentUnmarshaller(AttachmentUnmarshaller m)
AttachmentUnmarshaller.public abstract AttachmentMarshaller getAttachmentMarshaller()
AttachmentMarshaller set through
AttachmentMarshaller.public abstract AttachmentUnmarshaller getAttachmentUnmarshaller()
AttachmentUnmarshaller set through
AttachmentUnmarshaller.Copyright © 2019 JBoss by Red Hat. All rights reserved.