Package org.jboss.ws.api.addressing
Class MAPBuilderFactory
java.lang.Object
org.jboss.ws.api.addressing.MAPBuilderFactory
- Direct Known Subclasses:
CXFMAPBuilderFactory
Factory for
MAPBuilder; to be used to get an instance of the proper MAPBuilder
implementation which depends on the JBossWS stack in use.- Since:
- 25-May-2009
- Author:
- Alessio Soldano
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MAPBuilderGet an instance ofMAPBuilderstatic MAPBuilderFactoryGet the properMAPBuilderFactoryinstance according to stack in use; this uses the ws server integration modular classloader if available (alternatively the current thread context classloader is used) for looking up the factory name.static MAPBuilderFactorygetInstance(ClassLoader loader) The same asgetInstance()except the provided ClassLoader instance is used to lookup the factory name.
-
Constructor Details
-
MAPBuilderFactory
public MAPBuilderFactory()
-
-
Method Details
-
getInstance
Get the properMAPBuilderFactoryinstance according to stack in use; this uses the ws server integration modular classloader if available (alternatively the current thread context classloader is used) for looking up the factory name.- Returns:
- a
MAPBuilderFactoryinstance
-
getInstance
The same asgetInstance()except the provided ClassLoader instance is used to lookup the factory name.- Parameters:
loader- the classloader instance to use- Returns:
- a
MAPBuilderFactoryinstance
-
getBuilderInstance
Get an instance ofMAPBuilder- Returns:
- a
MAPBuilderinstance
-