Interface CDORestTransport

All Superinterfaces:
org.eclipse.net4j.util.lifecycle.IDeactivateable, org.eclipse.net4j.util.lifecycle.ILifecycle, org.eclipse.net4j.util.event.INotifier
All Known Implementing Classes:
CDORestJettyServer

public interface CDORestTransport extends org.eclipse.net4j.util.lifecycle.ILifecycle
A transport component managed by a configured REST service. Implementations adapt the shared REST request and response contract to one HTTP environment and must not assume ownership of customer-managed servers or containers.
Author:
Eike Stepper
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle

    org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation

    Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier

    org.eclipse.net4j.util.event.INotifier.INotifier2
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Product group used to discover transport implementations through the Net4j managed-container factory registry.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Supplies the service that receives requests from this transport.

    Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle

    activate, deactivate, getLifecycleState, isActive

    Methods inherited from interface org.eclipse.net4j.util.event.INotifier

    addListener, getListeners, hasListeners, removeListener
  • Field Details

    • PRODUCT_GROUP

      static final String PRODUCT_GROUP
      Product group used to discover transport implementations through the Net4j managed-container factory registry.
      See Also:
  • Method Details

    • setRestService

      void setRestService(CDORestService service)
      Supplies the service that receives requests from this transport. The service calls this method before activation.
      Parameters:
      service - the transport-neutral service to delegate requests to