org.apache.jackrabbit.rmi.server.jmx
Interface JCRServerMBean

All Known Implementing Classes:
JCRServer

public interface JCRServerMBean


Method Summary
 void createWorkspace(String username, String password, String workspace)
          Creates a workspace in the managed repository.
 String getLocalAddress()
           
 String getLocalEnvironment()
           
 String getRemoteAddress()
           
 String getRemoteEnvironment()
           
 void setLocalAddress(String address)
           
 void setLocalEnvironment(String localEnvironment)
           
 void setRemoteAddress(String address)
           
 void setRemoteEnvironment(String remoteEnvironment)
           
 void start()
           
 void stop()
           
 

Method Detail

start

void start()
           throws Exception
Throws:
Exception

stop

void stop()
          throws Exception
Throws:
Exception

createWorkspace

void createWorkspace(String username,
                     String password,
                     String workspace)
                     throws RepositoryException
Creates a workspace in the managed repository.

Parameters:
username - administrator username
password - administrator password
workspace - name of the workspace to create
Throws:
RepositoryException - if the workspace could not be created

getLocalAddress

String getLocalAddress()

setLocalAddress

void setLocalAddress(String address)

getRemoteAddress

String getRemoteAddress()

setRemoteAddress

void setRemoteAddress(String address)

getRemoteEnvironment

String getRemoteEnvironment()

setRemoteEnvironment

void setRemoteEnvironment(String remoteEnvironment)

getLocalEnvironment

String getLocalEnvironment()

setLocalEnvironment

void setLocalEnvironment(String localEnvironment)


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.