MBean that registers a JCR RMI server through JNDI.
@Deprecated public class JCRServer extends Object implements JCRServerMBean
Constructor and Description |
---|
JCRServer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
createWorkspace(String username,
String password,
String name)
Deprecated.
Creates a workspace in the managed repository.
|
String |
getLocalAddress()
Deprecated.
|
String |
getLocalEnvironment()
Deprecated.
|
String |
getRemoteAddress()
Deprecated.
|
String |
getRemoteEnvironment()
Deprecated.
|
void |
setLocalAddress(String localAddress)
Deprecated.
|
void |
setLocalEnvironment(String localEnvironment)
Deprecated.
|
void |
setRemoteAddress(String remoteAddress)
Deprecated.
|
void |
setRemoteEnvironment(String remoteEnvironment)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
public void start() throws Exception
start
in interface JCRServerMBean
Exception
public void stop() throws Exception
stop
in interface JCRServerMBean
Exception
public void createWorkspace(String username, String password, String name) throws RepositoryException
JCRServerMBean
createWorkspace
in interface JCRServerMBean
username
- administrator usernamepassword
- administrator passwordname
- name of the workspace to createRepositoryException
- if the workspace could not be createdpublic String getLocalAddress()
getLocalAddress
in interface JCRServerMBean
public void setLocalAddress(String localAddress)
setLocalAddress
in interface JCRServerMBean
public String getRemoteAddress()
getRemoteAddress
in interface JCRServerMBean
public void setRemoteAddress(String remoteAddress)
setRemoteAddress
in interface JCRServerMBean
public String getLocalEnvironment()
getLocalEnvironment
in interface JCRServerMBean
public void setLocalEnvironment(String localEnvironment)
setLocalEnvironment
in interface JCRServerMBean
public String getRemoteEnvironment()
getRemoteEnvironment
in interface JCRServerMBean
public void setRemoteEnvironment(String remoteEnvironment)
setRemoteEnvironment
in interface JCRServerMBean
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.