Package org.jboss.ws.api.addressing
Class MAPBuilderFactory
- java.lang.Object
-
- org.jboss.ws.api.addressing.MAPBuilderFactory
-
public abstract class MAPBuilderFactory extends Object
Factory forMAPBuilder; 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 Constructor Description MAPBuilderFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MAPBuildergetBuilderInstance()Get an instance ofMAPBuilderstatic MAPBuilderFactorygetInstance()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.static MAPBuilderFactorygetInstance(ClassLoader loader)The same asgetInstance()except the provided ClassLoader instance is used to lookup the factory name.
-
-
-
Method Detail
-
getInstance
public static MAPBuilderFactory 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
public static MAPBuilderFactory getInstance(ClassLoader loader)
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
public abstract MAPBuilder getBuilderInstance()
Get an instance ofMAPBuilder- Returns:
- a
MAPBuilderinstance
-
-