|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientSAF
The JMS Client SAF (store-and-forward) feature enables JMS clients to enqueue messages on a local file system. These messages will then be forwarded to a back-end destination when the client becomes connected.
This interface allows client code to start and stop the Client SAF feature.
ClientSAFFactory
Method Summary | |
---|---|
void |
close()
Stops the Client SAF system. |
Context |
getContext()
A helper method that clients can use to get the naming context to use when looking up objects defined in the configuration file. |
boolean |
isOpen()
Returns true if the Client SAF system is currently started. |
void |
open(char[] password)
Starts the Client SAF system associated with this configuration. |
Method Detail |
---|
void open(char[] password) throws JMSException
password
- The password to use as the key to decrypt the passwords
encrypted in the configuration.
JMSException
- If there was an error starting the Client SAF
system or if the Client SAF system has already been started.void close()
boolean isOpen()
Context getContext() throws JMSException
This naming context can also be determined by using
javax.naming.InitialContext
. In the hashtable provided
to the constructor, the user must provide:
java.naming.provider.url
-- An URL to the configuration file.java.naming.security.credentials
-- The password key
to unlock the passwords found in the configuration file.
JMSException
- If the context could not be created or the
Client SAF system is not currently started.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, 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. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |