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 and Description MAPBuilderFactory()
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description abstract MAPBuilder
getBuilderInstance()
Get an instance ofMAPBuilder
static MAPBuilderFactory
getInstance()
Get the properMAPBuilderFactory
instance 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 MAPBuilderFactory
getInstance(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 properMAPBuilderFactory
instance 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
MAPBuilderFactory
instance
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
MAPBuilderFactory
instance
getBuilderInstance
public abstract MAPBuilder getBuilderInstance()
Get an instance ofMAPBuilder
- Returns:
- a
MAPBuilder
instance
Copyright © 2018 JBoss, by Red Hat. All rights reserved.