|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.
|
Copyright 1996, 2010, 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.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |