Class JCRServer
- java.lang.Object
-
- org.apache.jackrabbit.rmi.server.jmx.JCRServer
-
- All Implemented Interfaces:
JCRServerMBean
@Deprecated(forRemoval=true) public class JCRServer extends Object implements JCRServerMBean
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
createWorkspace(String username, String password, String name)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a workspace in the managed repository.String
getLocalAddress()
Deprecated, for removal: This API element is subject to removal in a future version.String
getLocalEnvironment()
Deprecated, for removal: This API element is subject to removal in a future version.String
getRemoteAddress()
Deprecated, for removal: This API element is subject to removal in a future version.String
getRemoteEnvironment()
Deprecated, for removal: This API element is subject to removal in a future version.void
setLocalAddress(String localAddress)
Deprecated, for removal: This API element is subject to removal in a future version.void
setLocalEnvironment(String localEnvironment)
Deprecated, for removal: This API element is subject to removal in a future version.void
setRemoteAddress(String remoteAddress)
Deprecated, for removal: This API element is subject to removal in a future version.void
setRemoteEnvironment(String remoteEnvironment)
Deprecated, for removal: This API element is subject to removal in a future version.void
start()
Deprecated, for removal: This API element is subject to removal in a future version.void
stop()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
start
public void start() throws Exception
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
start
in interfaceJCRServerMBean
- Throws:
Exception
-
stop
public void stop() throws Exception
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
stop
in interfaceJCRServerMBean
- Throws:
Exception
-
createWorkspace
public void createWorkspace(String username, String password, String name) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:JCRServerMBean
Creates a workspace in the managed repository.- Specified by:
createWorkspace
in 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, for removal: This API element is subject to removal in a future version.- Specified by:
getLocalAddress
in interfaceJCRServerMBean
-
setLocalAddress
public void setLocalAddress(String localAddress)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setLocalAddress
in interfaceJCRServerMBean
-
getRemoteAddress
public String getRemoteAddress()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRemoteAddress
in interfaceJCRServerMBean
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setRemoteAddress
in interfaceJCRServerMBean
-
getLocalEnvironment
public String getLocalEnvironment()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getLocalEnvironment
in interfaceJCRServerMBean
-
setLocalEnvironment
public void setLocalEnvironment(String localEnvironment)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setLocalEnvironment
in interfaceJCRServerMBean
-
getRemoteEnvironment
public String getRemoteEnvironment()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getRemoteEnvironment
in interfaceJCRServerMBean
-
setRemoteEnvironment
public void setRemoteEnvironment(String remoteEnvironment)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
setRemoteEnvironment
in interfaceJCRServerMBean
-
-