org.apache.axis2.jaxws.catalog.impl
Class OASISCatalogManager

java.lang.Object
  extended by org.apache.xml.resolver.CatalogManager
      extended by org.apache.axis2.jaxws.catalog.impl.OASISCatalogManager
All Implemented Interfaces:
JAXWSCatalogManager

public class OASISCatalogManager
extends org.apache.xml.resolver.CatalogManager
implements JAXWSCatalogManager

OASISCatalogManager provides an interface to the catalog properties. The primary difference between this and the org.apache.xml.resolver.CatalogManger is that the staticCatalog is not a static data member in the OASISCatalogManger class. This enables the use of a static catalog per CatalogManager.


Field Summary
static java.lang.String CATALOG_DEBUG_KEY
           
static java.lang.String DEFAULT_CATALOG_EJB
           
static java.lang.String DEFAULT_CATALOG_WEB
           
 
Fields inherited from class org.apache.xml.resolver.CatalogManager
debug
 
Constructor Summary
OASISCatalogManager()
          Default constructor with no arguments.
OASISCatalogManager(java.lang.String propertyFileName)
          Constructor that specifies an explicit property file.
 
Method Summary
 org.apache.xml.resolver.Catalog getCatalog()
          Get a catalog instance.
 org.apache.xml.resolver.Catalog getPrivateCatalog()
          Get a new catalog instance.
 void setCatalogFiles(java.lang.String fileList)
          Set the list of catalog files.
 
Methods inherited from class org.apache.xml.resolver.CatalogManager
allowOasisXMLCatalogPI, catalogClassName, catalogFiles, getAllowOasisXMLCatalogPI, getBootstrapResolver, getCatalogClassName, getCatalogFiles, getIgnoreMissingProperties, getPreferPublic, getRelativeCatalogs, getStaticManager, getUseStaticCatalog, getVerbosity, ignoreMissingProperties, preferPublic, queryAllowOasisXMLCatalogPI, queryCatalogClassName, relativeCatalogs, setAllowOasisXMLCatalogPI, setBootstrapResolver, setCatalogClassName, setIgnoreMissingProperties, setPreferPublic, setRelativeCatalogs, setUseStaticCatalog, setVerbosity, staticCatalog, verbosity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.jaxws.catalog.JAXWSCatalogManager
getCatalogClassName, getCatalogFiles, getPreferPublic, getUseStaticCatalog, getVerbosity, setCatalogClassName, setPreferPublic, setUseStaticCatalog, setVerbosity
 

Field Detail

DEFAULT_CATALOG_WEB

public static final java.lang.String DEFAULT_CATALOG_WEB
See Also:
Constant Field Values

DEFAULT_CATALOG_EJB

public static final java.lang.String DEFAULT_CATALOG_EJB
See Also:
Constant Field Values

CATALOG_DEBUG_KEY

public static final java.lang.String CATALOG_DEBUG_KEY
See Also:
Constant Field Values
Constructor Detail

OASISCatalogManager

public OASISCatalogManager()
Default constructor with no arguments. This constructor will use the defaults specified for Axis2 in the acceptDefaults method.


OASISCatalogManager

public OASISCatalogManager(java.lang.String propertyFileName)
Constructor that specifies an explicit property file.

Parameters:
propertyFileName -
Method Detail

getCatalog

public org.apache.xml.resolver.Catalog getCatalog()
Get a catalog instance. If this manager uses static catalogs, the same static catalog will always be returned. Otherwise a new catalog will be returned.

Specified by:
getCatalog in interface JAXWSCatalogManager
Overrides:
getCatalog in class org.apache.xml.resolver.CatalogManager

getPrivateCatalog

public org.apache.xml.resolver.Catalog getPrivateCatalog()
Get a new catalog instance. This method returns an instance of the underlying catalog class.

Specified by:
getPrivateCatalog in interface JAXWSCatalogManager
Overrides:
getPrivateCatalog in class org.apache.xml.resolver.CatalogManager

setCatalogFiles

public void setCatalogFiles(java.lang.String fileList)
Set the list of catalog files. This method will reset the staticCatalog for this CatalogManager.

Specified by:
setCatalogFiles in interface JAXWSCatalogManager
Overrides:
setCatalogFiles in class org.apache.xml.resolver.CatalogManager


Copyright © 2007 Apache Web Services Project. All Rights Reserved.