Class OASISCatalogManager
java.lang.Object
org.apache.xml.resolver.CatalogManager
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
FieldsFields inherited from class org.apache.xml.resolver.CatalogManager
debug -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor with no arguments.OASISCatalogManager(ClassLoader classLoader) Default constructor with ClassLoader argument.OASISCatalogManager(ClassLoader classLoader, String propertyFileName) Constructor that specifies an explicit property file and ClassLoader.OASISCatalogManager(String propertyFileName) Constructor that specifies an explicit property file. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.xml.resolver.CatalogGet a catalog instance.org.apache.xml.resolver.CatalogGet a new catalog instance.voidsetCatalogFiles(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, verbosityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.jaxws.catalog.JAXWSCatalogManager
getCatalogClassName, getCatalogFiles, getPreferPublic, getUseStaticCatalog, getVerbosity, setCatalogClassName, setPreferPublic, setUseStaticCatalog, setVerbosity
-
Field Details
-
DEFAULT_CATALOG_WEB
- See Also:
-
DEFAULT_CATALOG_EJB
- See Also:
-
CATALOG_DEBUG_KEY
- See Also:
-
-
Constructor Details
-
OASISCatalogManager
Default constructor with ClassLoader argument. This constructor will use the defaults specified for Axis2 in the acceptDefaults method.- Parameters:
classLoader-
-
OASISCatalogManager
Constructor that specifies an explicit property file and ClassLoader.- Parameters:
classLoader-propertyFileName-
-
OASISCatalogManager
public OASISCatalogManager()Default constructor with no arguments. This constructor will use the defaults specified for Axis2 in the acceptDefaults method. -
OASISCatalogManager
Constructor that specifies an explicit property file.- Parameters:
propertyFileName-
-
-
Method Details
-
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:
getCatalogin interfaceJAXWSCatalogManager- Overrides:
getCatalogin classorg.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:
getPrivateCatalogin interfaceJAXWSCatalogManager- Overrides:
getPrivateCatalogin classorg.apache.xml.resolver.CatalogManager
-
setCatalogFiles
Set the list of catalog files. This method will reset the staticCatalog for this CatalogManager.- Specified by:
setCatalogFilesin interfaceJAXWSCatalogManager- Overrides:
setCatalogFilesin classorg.apache.xml.resolver.CatalogManager
-