Interface ManagedRepositoryMBean


  • @ProviderType
    public interface ManagedRepositoryMBean
    Interface for managing a JCR repository as a JMX MBean.
    Since:
    Apache Jackrabbit 2.3
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void createWorkspace​(java.lang.String name)
      Creates a new workspace with the given name.
      java.util.Map<java.lang.String,​java.lang.String> getDescriptors()
      Returns all the repository descriptors.
      java.lang.String getName()
      Returns the name of this repository implementation.
      java.lang.String getVersion()
      Returns the version of this repository implementation.
      java.lang.String[] getWorkspaceNames()
      Returns the names of all the workspaces in this repository.
    • Method Detail

      • getName

        java.lang.String getName()
        Returns the name of this repository implementation.
        Returns:
        name of this repository implementation
        See Also:
        Repository.REP_NAME_DESC
      • getVersion

        java.lang.String getVersion()
        Returns the version of this repository implementation.
        Returns:
        version of this repository implementation
        See Also:
        Repository.REP_VERSION_DESC
      • getDescriptors

        java.util.Map<java.lang.String,​java.lang.String> getDescriptors()
        Returns all the repository descriptors.
        Returns:
        repository descriptors
      • getWorkspaceNames

        java.lang.String[] getWorkspaceNames()
        Returns the names of all the workspaces in this repository.
        Returns:
        workspace names
      • createWorkspace

        void createWorkspace​(java.lang.String name)
                      throws RepositoryException
        Creates a new workspace with the given name.
        Parameters:
        name - workspace name
        Throws:
        RepositoryException - if the workspace could not be created