Package org.apache.jackrabbit.api.jmx
Interface ManagedRepositoryMBean
@ProviderType
public interface ManagedRepositoryMBean
Interface for managing a JCR repository as a JMX MBean.
- Since:
- Apache Jackrabbit 2.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createWorkspace
(String name) Creates a new workspace with the given name.Returns all the repository descriptors.getName()
Returns the name of this repository implementation.Returns the version of this repository implementation.String[]
Returns the names of all the workspaces in this repository.
-
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
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
Creates a new workspace with the given name.- Parameters:
name
- workspace name- Throws:
RepositoryException
- if the workspace could not be created
-