|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.registry.FactoryRegistry
public class FactoryRegistry
FactoryRegistry Registry containing Factories related to the JAX-WS Implementation. The expected scenario is: 1) Most or all of the factories are registered during startup. 2) There are a large number of getFactory calls 3) There may be an infrequent call to setFactory. Thus a "copy on put" approach is used. This ensures that the "gets" are fast (because they are unsynchronized). The "puts" are slower because they create a new copy of the HashMap. See http://www.ibm.com/developerworks/java/library/j-hashmap.html
Method Summary | |
---|---|
static java.lang.Object |
getFactory(java.lang.Class intface)
Get the factory. |
static void |
setFactory(java.lang.Class intface,
java.lang.Object factoryObject)
Add the factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object getFactory(java.lang.Class intface)
intface
- of the Factory
public static void setFactory(java.lang.Class intface, java.lang.Object factoryObject)
intface
- factoryObject
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |