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.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProduct group used to discover transport implementations through the Net4j managed-container factory registry. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRestService(CDORestService service) Supplies the service that receives requests from this transport.Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Field Details
-
PRODUCT_GROUP
Product group used to discover transport implementations through the Net4j managed-container factory registry.- See Also:
-
-
Method Details
-
setRestService
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
-