Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.joseki.server
Class RDFServer

    java.lang.Object
      org.joseki.server.RDFServer

public class RDFServer
extends java.lang.Object

Standalone server.

Version:
  $Id: RDFServer.java,v 1.15 2004/04/30 14:13:13 andy_seaborne Exp $
Author:
  Andy Seaborne

Field Summary
`static java.lang.String` | `defaultConfigFile` Default configuration file
`static int` | `defaultPort` Default port for the server
`static java.lang.String` | `defaultServerBaseURI` Default location for the Joseki server
`static java.lang.String` | `DispatcherName`
`static java.lang.String` | `noMapValue` Value fo rthe config file meaning "no configuration"
`static java.lang.String` | `propertyModelSet` Override the web.xml init-param for the configuration file.
`static java.lang.String` | `propertyPort` System property for the port number.

Constructor Summary
`RDFServer()` Create a new RDFServer on the default port or as specifed by the system property jena.rdfserver.port
`RDFServer(java.lang.String configFile)` Create a new RDFServer using the named configuration file
`RDFServer(java.lang.String configFile, int port)` Create a new RDFServer
`RDFServer(java.lang.String configFile, int port, java.lang.String serverBaseURI)` Creates new RDFServer using the named configuration file

Method Summary
`int` | `getPort()`
`org.mortbay.jetty.Server` | `getServer()`
`void` | `start()` Start the server
`void` | `stop()` Stop the server.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DispatcherName

    public static final java.lang.String DispatcherName

See Also:
  Constant Field Values

### propertyPort

    public static final java.lang.String propertyPort

  System property for the port number.

  See Also:
    Constant Field Values

### propertyModelSet

    public static final java.lang.String propertyModelSet

  Override the web.xml init-param for the configuration file.

  See Also:
    Constant Field Values

### defaultPort

    public static final int defaultPort

  Default port for the server

  See Also:
    Constant Field Values

### defaultServerBaseURI

    public static final java.lang.String defaultServerBaseURI

  Default location for the Joseki server

  See Also:
    Constant Field Values

### defaultConfigFile

    public static final java.lang.String defaultConfigFile

  Default configuration file

  See Also:
    Constant Field Values

### noMapValue

    public static final java.lang.String noMapValue

  Value fo rthe config file meaning "no configuration"

  See Also:
    Constant Field Values

Constructor Detail

### RDFServer

    public RDFServer()

  Create a new RDFServer on the default port or as specifed by the system property jena.rdfserver.port

### RDFServer

    public RDFServer(java.lang.String configFile)

  Create a new RDFServer using the named configuration file

Parameters:
  `configFile` -

### RDFServer

    public RDFServer(java.lang.String configFile,
                     int port)

  Create a new RDFServer

Parameters:
  `configFile` -
  `port` -

### RDFServer

    public RDFServer(java.lang.String configFile,
                     int port,
                     java.lang.String serverBaseURI)

  Creates new RDFServer using the named configuration file

Parameters:
  `configFile` -
  `port` -
  `serverBaseURI` -

Method Detail

### start

    public void start()

  Start the server

### stop

    public void stop()

  Stop the server. On exit from this method, it is not guaranteed that all server threads have ended.

### getPort

    public int getPort()

### getServer

    public org.mortbay.jetty.Server getServer()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 Hewlett-Packard. All Rights Reserved.