public class JCRServer extends Object implements JCRServerMBean
| Constructor and Description |
|---|
JCRServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
createWorkspace(String username,
String password,
String name)
Creates a workspace in the managed repository.
|
String |
getLocalAddress() |
String |
getLocalEnvironment() |
String |
getRemoteAddress() |
String |
getRemoteEnvironment() |
void |
setLocalAddress(String localAddress) |
void |
setLocalEnvironment(String localEnvironment) |
void |
setRemoteAddress(String remoteAddress) |
void |
setRemoteEnvironment(String remoteEnvironment) |
void |
start() |
void |
stop() |
public void start()
throws Exception
start in interface JCRServerMBeanExceptionpublic void stop()
throws Exception
stop in interface JCRServerMBeanExceptionpublic void createWorkspace(String username, String password, String name) throws RepositoryException
JCRServerMBeancreateWorkspace in interface JCRServerMBeanusername - administrator usernamepassword - administrator passwordname - name of the workspace to createRepositoryException - if the workspace could not be createdpublic String getLocalAddress()
getLocalAddress in interface JCRServerMBeanpublic void setLocalAddress(String localAddress)
setLocalAddress in interface JCRServerMBeanpublic String getRemoteAddress()
getRemoteAddress in interface JCRServerMBeanpublic void setRemoteAddress(String remoteAddress)
setRemoteAddress in interface JCRServerMBeanpublic String getLocalEnvironment()
getLocalEnvironment in interface JCRServerMBeanpublic void setLocalEnvironment(String localEnvironment)
setLocalEnvironment in interface JCRServerMBeanpublic String getRemoteEnvironment()
getRemoteEnvironment in interface JCRServerMBeanpublic void setRemoteEnvironment(String remoteEnvironment)
setRemoteEnvironment in interface JCRServerMBeanCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.