Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface SAFRemoteContextBean

All Superinterfaces:
NamedEntityBean, SettableBean

public interface SAFRemoteContextBean
extends NamedEntityBean

Store-and-Forward (SAF) Remote Context specifies the SAF Login Context that the SAF Imported Queue or Topic use to connect to the remote Destination. SAF Remote Context also specifies the SAF Remote Context configured in the remote cluster or server that is used by the producer of the reply-to JMS Destination specified in the message sent to a SAF Imported Destination.

Access limited to the following security roles:
Deployer

Method Summary
 int getCompressionThreshold()
          The number of bytes for a serialized message body so that any message that exceeds this limit triggers message compression when the message is about to be sent across a SAF agent's JVM boundary.
 String getReplyToSAFRemoteContextName()
          Specifies the SAF Remote Context Name used by the replyTo destination in the remote cluster or server.
 SAFLoginContextBean getSAFLoginContext()
          Defines the parameters needed to get a login context from a remote server.
 void setCompressionThreshold(int threshold)
          Sets the value of the CompressionThreshold attribute.
 void setReplyToSAFRemoteContextName(String replytoSafRemoteContextName)
          Sets the value of the ReplyToSAFRemoteContextName attribute.
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getSAFLoginContext

SAFLoginContextBean getSAFLoginContext()

Defines the parameters needed to get a login context from a remote server.

Returns:
SAFLoginContextBean

getCompressionThreshold

int getCompressionThreshold()

The number of bytes for a serialized message body so that any message that exceeds this limit triggers message compression when the message is about to be sent across a SAF agent's JVM boundary.

The compression will occur on the sending-side SAF agent's JVM if the message body size exceeds the threshold limit.

Changes take effect after you redeploy the module or restart the server.
Default Value:
java.lang.Integer.MAX_VALUE
Maximum Value:
java.lang.Integer.MAX_VALUE
Minimum Value:
0

setCompressionThreshold

void setCompressionThreshold(int threshold)
                             throws IllegalArgumentException

Sets the value of the CompressionThreshold attribute.

Throws:
IllegalArgumentException
See Also:
SAFRemoteContextBean.getCompressionThreshold()
Changes take effect after you redeploy the module or restart the server.

getReplyToSAFRemoteContextName

String getReplyToSAFRemoteContextName()

Specifies the SAF Remote Context Name used by the replyTo destination in the remote cluster or server.

Returns:
replyto SAFRemoteContext Name
Changes take effect after you redeploy the module or restart the server.

setReplyToSAFRemoteContextName

void setReplyToSAFRemoteContextName(String replytoSafRemoteContextName)

Sets the value of the ReplyToSAFRemoteContextName attribute.

See Also:
SAFRemoteContextBean.getReplyToSAFRemoteContextName()
Changes take effect after you redeploy the module or restart the server.

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02