org.jboss.ws.api.addressing
Class MAPBuilderFactory

java.lang.Object
  extended by org.jboss.ws.api.addressing.MAPBuilderFactory

public abstract class MAPBuilderFactory
extends Object

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
MAPBuilderFactory()
           
 
Method Summary
abstract  MAPBuilder getBuilderInstance()
          Get an instance of MAPBuilder
static MAPBuilderFactory getInstance()
          Get the proper MAPBuilderFactory 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 as getInstance() except the provided ClassLoader instance is used to lookup the factory name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MAPBuilderFactory

public MAPBuilderFactory()
Method Detail

getInstance

public static MAPBuilderFactory getInstance()
Get the proper MAPBuilderFactory 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 as getInstance() 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 of MAPBuilder

Returns:
a MAPBuilder instance


Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.