org.apache.jackrabbit.rmi.server.jmx
Class JCRServer
java.lang.Object
org.apache.jackrabbit.rmi.server.jmx.JCRServer
- All Implemented Interfaces:
- JCRServerMBean
public class JCRServer
- extends Object
- implements JCRServerMBean
MBean that registers a JCR RMI server through JNDI.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCRServer
public JCRServer()
start
public void start()
throws Exception
- Specified by:
start in interface JCRServerMBean
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface JCRServerMBean
- Throws:
Exception
createWorkspace
public void createWorkspace(String username,
String password,
String name)
throws RepositoryException
- Description copied from interface:
JCRServerMBean
- Creates a workspace in the managed repository.
- Specified by:
createWorkspace in interface JCRServerMBean
- Parameters:
username - administrator usernamepassword - administrator passwordname - name of the workspace to create
- Throws:
RepositoryException - if the workspace could not be created
getLocalAddress
public String getLocalAddress()
- Specified by:
getLocalAddress in interface JCRServerMBean
setLocalAddress
public void setLocalAddress(String localAddress)
- Specified by:
setLocalAddress in interface JCRServerMBean
getRemoteAddress
public String getRemoteAddress()
- Specified by:
getRemoteAddress in interface JCRServerMBean
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
- Specified by:
setRemoteAddress in interface JCRServerMBean
getLocalEnvironment
public String getLocalEnvironment()
- Specified by:
getLocalEnvironment in interface JCRServerMBean
setLocalEnvironment
public void setLocalEnvironment(String localEnvironment)
- Specified by:
setLocalEnvironment in interface JCRServerMBean
getRemoteEnvironment
public String getRemoteEnvironment()
- Specified by:
getRemoteEnvironment in interface JCRServerMBean
setRemoteEnvironment
public void setRemoteEnvironment(String remoteEnvironment)
- Specified by:
setRemoteEnvironment in interface JCRServerMBean
Copyright © 2004-2017 The Apache Software Foundation. All Rights Reserved.