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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createWorkspace(String name)
Creates a new workspace with the given name.Map<String,String>
getDescriptors()
Returns all the repository descriptors.String
getName()
Returns the name of this repository implementation.String
getVersion()
Returns the version of this repository implementation.String[]
getWorkspaceNames()
Returns the names of all the workspaces in this repository.
-
-
-
Method Detail
-
getName
String getName()
Returns the name of this repository implementation.- Returns:
- name of this repository implementation
- See Also:
Repository.REP_NAME_DESC
-
getVersion
String getVersion()
Returns the version of this repository implementation.- Returns:
- version of this repository implementation
- See Also:
Repository.REP_VERSION_DESC
-
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
-
-