|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.webservice.client.SSLAdapterFactory
public class SSLAdapterFactory
SSLAdapterFactory.java Created: Wed Apr 10 09:33:34 2002
Field Summary | |
---|---|
static String |
SSL_ADAPTER_PROPERTY
Deprecated. |
Constructor Summary | |
---|---|
SSLAdapterFactory()
Deprecated. |
Method Summary | |
---|---|
SSLAdapter |
createSSLAdapter()
Deprecated. Returns a new instance of the SSLAdapter class, regardless of whether useDefaultAdapter has been set
true . |
SSLAdapter |
getDefaultAdapter()
Deprecated. This returns the default instance of the this factory's SSLAdapter. |
static SSLAdapterFactory |
getDefaultFactory()
Deprecated. Returns the default factory. |
SSLAdapter |
getSSLAdapter()
Deprecated. This method returns an instance of SSLAdapter if an adapter class is available. |
void |
setDefaultAdapter(SSLAdapter adapter)
Deprecated. Sets the factory's default instance to one provided by the user. |
static void |
setDefaultFactory(SSLAdapterFactory factory)
Deprecated. Sets the default factory for SSLAdapters. |
void |
setUseDefaultAdapter(boolean useDefault)
Deprecated. This method is used to toggle whether this instance of the SSLAdapterFactory will always return the default adapter instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SSL_ADAPTER_PROPERTY
Constructor Detail |
---|
public SSLAdapterFactory()
Method Detail |
---|
public static final void setDefaultFactory(SSLAdapterFactory factory)
factory
- a factory class instancepublic static final SSLAdapterFactory getDefaultFactory()
public final SSLAdapter getDefaultAdapter()
setUseDefaultAdapter()
method.
SSLAdapterFactory.setDefaultAdapter(SSLAdapter adapter)
,
SSLAdapterFactory.setUseDefaultAdapter(boolean useDefault)
public final void setDefaultAdapter(SSLAdapter adapter)
null
will cause a new instance to be
generated on the next request.Use this if you want to configure an SSLAdapter once and share it across all web service ports.
adapter
- an SSLAdapter instanceSSLAdapterFactory.getDefaultAdapter()
,
SSLAdapterFactory.setUseDefaultAdapter(boolean useDefault)
public final void setUseDefaultAdapter(boolean useDefault)
true
to enable use of a
shared default SSLAdapter instance.
useDefault
- whether or not to return the default SSLAdapter
instance for the factory from getSSLAdapter()
SSLAdapterFactory.getDefaultAdapter()
,
SSLAdapterFactory.getSSLAdapter()
,
SSLAdapterFactory.setUseDefaultAdapter(boolean useDefault)
public final SSLAdapter getSSLAdapter()
SSLConfigurationException
if none are
available. If the factory has been set to use a shared default adapter, it will return the default instance; else it will create a new one.
The type of adapter returned depends on whether the user has
specified an adapter class and on what is available in the
classpath. By default, the factory will check the
weblogic.webservice.client.ssl.adapterclass
system
property for the name of a user provided adapter class. If the
property has not been set, it will try the default Weblogic
adapters. If no adapter class can be found, it will throw an
SSLConfigurationException
.
The factory will only search for an adapter class on the first
invocation. After an initial failure, all subsequent requests
will simply return null
.
SSLAdapterFactory.getDefaultAdapter()
,
SSLAdapterFactory.setDefaultAdapter(SSLAdapter adapter)
,
SSLAdapterFactory.setUseDefaultAdapter(boolean useDefault)
public SSLAdapter createSSLAdapter()
useDefaultAdapter
has been set
true
. This method must always return an SSLAdapter
or throw an exception.
SSLAdapterFactory.getSSLAdapter()
,
SSLAdapterFactory.setUseDefaultAdapter(boolean useDefault)
|
Copyright 1996, 2011, 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |