|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.httppubsub.FactoryFinder
public final class FactoryFinder
FactoryFinder search PubSub server's factories implementation based on the
factory interface name. User can replace system default factories
implementations by invoking FactoryFinder.setFactory(String, String)
method.
PubSubServerFactory
,
PubSubConfigFactory
Field Summary | |
---|---|
static String |
PUBSUBSERVER_FACTORY
The property name for the PubSubServerFactory
class name. |
Method Summary | |
---|---|
static Object |
getFactory(String factoryName)
Get instance of the factory for the given Factory interface name. |
static void |
setFactory(String factoryName,
String implName)
Set the implementation class name for given factory interface name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PUBSUBSERVER_FACTORY
PubSubServerFactory
class name.
Method Detail |
---|
public static Object getFactory(String factoryName) throws PubSubServerException
factoryName
- Factory interface name
PubSubServerException
- if error occurs
NullPointerException
- if factoryName is null
IllegalArgumentException
- if factoryName is invalid factory name.public static void setFactory(String factoryName, String implName) throws PubSubServerException
factoryName
- factory interface nameimplName
- implementation class name
PubSubServerException
- if error occurs
NullPointerException
- if factoryName is null
IllegalArgumentException
- if factoryName is invalid factory name.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm 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. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |