|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.jms.extensions.ClientSAFFactory
public class ClientSAFFactory
This class is a factory for JMS ClientSAF objects, which can be used to control configuration aspects of the Client SAF (store-and-forward) system.
ClientSAF
Constructor Summary | |
---|---|
ClientSAFFactory()
|
Method Summary | |
---|---|
static ClientSAF |
getClientSAF()
Returns a Client SAF instance. |
static ClientSAF |
getClientSAF(File rootDirectory,
InputStream configuration)
Returns a client SAF instance. |
static ClientSAF |
getClientSAF(InputStream configuration)
Returns a Client SAF instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientSAFFactory()
Method Detail |
---|
public static ClientSAF getClientSAF() throws ClientSAFDuplicateException, JMSException
ClientSAF.xml
and can be found in the current working directory of
this JVM.
ClientSAFDuplicateException
- If this ClientSAF
object already exists and is running for this directory.
The running ClientSAF object can be received using
ClientSAFDuplicateException.getDuplicate()
.
In this case, the input stream has not been reparsed.
JMSException
- If this call is attempted on a
WLS server instance. Client SAF can only be used on a client.public static ClientSAF getClientSAF(InputStream configuration) throws ClientSAFDuplicateException, JMSException
configuration
- An input stream for a configuration that
is well-formed with respect to the weblogic-jmsmd.xsd
schema and which
has a root element of weblogic-client-jms
.
ClientSAFDuplicateException
- If this ClientSAF
object already exists and is running for this directory.
The running ClientSAF object can be received using
ClientSAFDuplicateException.getDuplicate()
.
In this case, the input stream has not been reparsed.
JMSException
- If this call is attempted on a
WLS server instance. Client SAF can only be used on a client.public static ClientSAF getClientSAF(File rootDirectory, InputStream configuration) throws ClientSAFDuplicateException, JMSException
rootDirectory
- The directory that should be considered
the root directory where the Client SAF implementation can
store files and directories. Any relative paths in the
configuration file are relative to this directory (for
example, the store directory).configuration
- An input stream for a configuration that
is well-formed with respect to the weblogic-jmsmd.xsd
schema and which
has a root element of weblogic-client-jms
.
ClientSAFDuplicateException
- If this ClientSAF
object already exists and is running for this directory.
The running ClientSAF object can be received using
ClientSAFDuplicateException.getDuplicate()
.
In this case, the input stream has not been reparsed.
JMSException
- If this call is attempted on a
WLS server instance. Client SAF can only be used on a client.
|
Copyright 1996, 2013, 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.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |