Class JCRServer
- java.lang.Object
-
- org.apache.jackrabbit.rmi.server.jmx.JCRServer
-
- All Implemented Interfaces:
JCRServerMBean
@Deprecated public class JCRServer extends Object implements JCRServerMBean
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.MBean that registers a JCR RMI server through JNDI.
-
-
Constructor Summary
Constructors Constructor Description JCRServer()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcreateWorkspace(String username, String password, String name)Deprecated.Creates a workspace in the managed repository.StringgetLocalAddress()Deprecated.StringgetLocalEnvironment()Deprecated.StringgetRemoteAddress()Deprecated.StringgetRemoteEnvironment()Deprecated.voidsetLocalAddress(String localAddress)Deprecated.voidsetLocalEnvironment(String localEnvironment)Deprecated.voidsetRemoteAddress(String remoteAddress)Deprecated.voidsetRemoteEnvironment(String remoteEnvironment)Deprecated.voidstart()Deprecated.voidstop()Deprecated.
-
-
-
Method Detail
-
start
public void start() throws ExceptionDeprecated.- Specified by:
startin interfaceJCRServerMBean- Throws:
Exception
-
stop
public void stop() throws ExceptionDeprecated.- Specified by:
stopin interfaceJCRServerMBean- Throws:
Exception
-
createWorkspace
public void createWorkspace(String username, String password, String name) throws RepositoryException
Deprecated.Description copied from interface:JCRServerMBeanCreates a workspace in the managed repository.- Specified by:
createWorkspacein interfaceJCRServerMBean- 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()
Deprecated.- Specified by:
getLocalAddressin interfaceJCRServerMBean
-
setLocalAddress
public void setLocalAddress(String localAddress)
Deprecated.- Specified by:
setLocalAddressin interfaceJCRServerMBean
-
getRemoteAddress
public String getRemoteAddress()
Deprecated.- Specified by:
getRemoteAddressin interfaceJCRServerMBean
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
Deprecated.- Specified by:
setRemoteAddressin interfaceJCRServerMBean
-
getLocalEnvironment
public String getLocalEnvironment()
Deprecated.- Specified by:
getLocalEnvironmentin interfaceJCRServerMBean
-
setLocalEnvironment
public void setLocalEnvironment(String localEnvironment)
Deprecated.- Specified by:
setLocalEnvironmentin interfaceJCRServerMBean
-
getRemoteEnvironment
public String getRemoteEnvironment()
Deprecated.- Specified by:
getRemoteEnvironmentin interfaceJCRServerMBean
-
setRemoteEnvironment
public void setRemoteEnvironment(String remoteEnvironment)
Deprecated.- Specified by:
setRemoteEnvironmentin interfaceJCRServerMBean
-
-