Class PropertyManagerImpl

    • Constructor Detail

      • PropertyManagerImpl

        public PropertyManagerImpl()
      • PropertyManagerImpl

        public PropertyManagerImpl​(java.lang.Object data)
        Parameters:
        data -
    • Method Detail

      • addPropertyStore

        public void addPropertyStore​(PropertyStoreConfig psc)
                              throws java.lang.Exception
        Description copied from interface: PropertyManager
        Adds the property store config to the prop store collection.
        Specified by:
        addPropertyStore in interface PropertyManager
        Parameters:
        psc - The property store config to add to the collection.
        Throws:
        java.lang.Exception
      • addStdStore

        public void addStdStore​(java.lang.String store)
                         throws java.lang.Exception
        Adds a standard property store to the config. If one is already present this method does nothing.
        Specified by:
        addStdStore in interface PropertyManager
        Parameters:
        store - The standard store name
        Throws:
        java.lang.Exception
      • isStdStore

        public boolean isStdStore​(PropertyStoreConfig psc)
        Method determines if the Property Store Config passed in is as standard property store.
        Specified by:
        isStdStore in interface PropertyManager
        Parameters:
        psc - The Property Store Config to check on.
        Returns:
        Returns true if the Property Store Config is a standard store. Otherwise, false is returned.
      • createFolder

        public MetamergeFolder createFolder​(java.lang.Object name)
                                     throws java.lang.Exception
        This method always throws an Exception, you are not allowed to create Folders here
        Specified by:
        createFolder in interface MetamergeFolder
        Parameters:
        name - Name of sub-folder
        Returns:
        The MetamergeFolder object representing the new sub-folder
        Throws:
        java.lang.Exception
      • list

        public java.util.Enumeration<BaseConfiguration> list()
                                                      throws java.lang.Exception
        Description copied from interface: MetamergeFolder
        Returns a list of javax.naming.Binding objects for each of this folders child entries. The Binding object contains the name of the object as well as the object itself.
        Specified by:
        list in interface MetamergeFolder
        Returns:
        Enumeration of Binding objects
        Throws:
        java.lang.Exception
      • getNames

        public java.lang.String[] getNames()
                                    throws java.lang.Exception
        Description copied from interface: MetamergeFolder
        This method returns an array of names contained in this folder.
        Specified by:
        getNames in interface MetamergeFolder
        Returns:
        The names value
        Throws:
        java.lang.Exception