Class 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.
    • Constructor Detail

      • OASISCatalogManager

        public OASISCatalogManager​(ClassLoader classLoader)
        Default constructor with ClassLoader argument. This constructor will use the defaults specified for Axis2 in the acceptDefaults method.
        Parameters:
        classLoader -
      • OASISCatalogManager

        public OASISCatalogManager​(ClassLoader classLoader,
                                   String propertyFileName)
        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

        public OASISCatalogManager​(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​(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