org.odata4j.producer.server
Interface ODataServer

All Known Implementing Classes:
ODataCxfServer, ODataJerseyServer

public interface ODataServer

Generic OData server


Method Summary
 ODataServer setODataApplication(Class<? extends Application> odataApp)
          Sets the OData application.
 ODataServer setRootApplication(Class<? extends Application> rootApp)
          Sets the root application.
 ODataServer start()
          Starts the OData server.
 ODataServer stop()
          Stops the OData server.
 

Method Detail

setODataApplication

ODataServer setODataApplication(Class<? extends Application> odataApp)
Sets the OData application.

Parameters:
odataApp - the OData application class
Returns:
this server
See Also:
AbstractODataApplication, DefaultODataApplication

setRootApplication

ODataServer setRootApplication(Class<? extends Application> rootApp)
Sets the root application.

Parameters:
rootApp - the root application class
Returns:
this server
See Also:
RootApplication

start

ODataServer start()
Starts the OData server.

Returns:
this server

stop

ODataServer stop()
Stops the OData server.

Returns:
this server


http://odata4j.org