|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.repository.server.RepositoryServer
public class RepositoryServer
Primitive Winstone servlet container launcher for Sofa repository.
Field Summary | |
---|---|
static java.lang.String |
REPOSITORY_PATH_PROPERTY
System property name for setting repository directory root. |
static java.lang.String |
REPOSITORY_PORT_PROPERTY
System property name for setting repository server listening port. |
static java.lang.String |
REPOSITORY_WEBAPP_PATH_PROPERTY
System property name for setting repository web application war path |
Constructor Summary | |
---|---|
RepositoryServer()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static boolean |
startNewServer()
Launches the repository server. |
static boolean |
startNewServer(java.lang.String repositoryPath,
java.lang.String webappPath,
java.lang.String repositoryPort)
Launches the repository server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REPOSITORY_PATH_PROPERTY
public static final java.lang.String REPOSITORY_PORT_PROPERTY
public static final java.lang.String REPOSITORY_WEBAPP_PATH_PROPERTY
Constructor Detail |
---|
public RepositoryServer()
Method Detail |
---|
public static boolean startNewServer()
true
if the repository has been successfully launchedpublic static boolean startNewServer(java.lang.String repositoryPath, java.lang.String webappPath, java.lang.String repositoryPort)
repositoryPath
- Relative path to repository directory.webappPath
- Path to warfile. Default "repositorywebapp.war".repositoryPort
- Port on which the server will run. Default 8080.
true
if the repository has been successfully launchedpublic static void main(java.lang.String[] args)
args
- no parameters used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |