org.openrdf.server.metadata
Class MetadataServer

java.lang.Object
  extended by org.openrdf.server.metadata.MetadataServer

public class MetadataServer
extends Object

Manages the start and stop stages of the server.

Author:
James Leigh

Field Summary
protected static String DEFAULT_NAME
           
 
Constructor Summary
MetadataServer(ObjectRepository repository, File www, File cache)
           
 
Method Summary
 int getPort()
           
 Repository getRepository()
           
 String getServerName()
           
 boolean isRunning()
           
 void setPort(int port)
           
 void setServerName(String serverName)
           
 void start()
           
 void stop()
          Method may return before socket is released.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAME

protected static final String DEFAULT_NAME
Constructor Detail

MetadataServer

public MetadataServer(ObjectRepository repository,
                      File www,
                      File cache)
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

getRepository

public Repository getRepository()

getServerName

public String getServerName()

setServerName

public void setServerName(String serverName)

start

public void start()
           throws BindException,
                  Exception
Throws:
BindException
Exception

isRunning

public boolean isRunning()

stop

public void stop()
          throws Exception
Method may return before socket is released.

Throws:
Exception


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.