Class MAPBuilderFactory

java.lang.Object
org.jboss.ws.api.addressing.MAPBuilderFactory
Direct Known Subclasses:
CXFMAPBuilderFactory

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 Details

    • MAPBuilderFactory

      public MAPBuilderFactory()
  • Method Details

    • 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