Interface ManagedRepositoryMBean


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

    • getName

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

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

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

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

      void createWorkspace(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