org.araneaframework
Interface Service

All Superinterfaces:
Component, Serializable
All Known Subinterfaces:
ApplicationService, ApplicationWidget, Composite.CompositeService, Composite.CompositeWidget, Control, FilteredInputControl, FilterService, FilterWidget, FlowContextWidget, Relocatable.RelocatableService, Relocatable.RelocatableWidget, TabContext, Viewable.ViewableService, Viewable.ViewableWidget, Widget
All Known Implementing Classes:
BaseApplicationService, BaseApplicationWidget, BaseControl, BaseFilterService, BaseFilterWidget, BaseService, BaseWidget, FloatControl, NumberControl, PopupFlowWrapperWidget, RelocatableDecorator, StandardClientStateFilterWidget, StandardFlowContainerWidget, TabWidget, TextControl, TimestampControl

public interface Service
extends Component, Serializable

Service is a component with an extra method action(Path, InputData, OutputData) that provides services based on the requests. As requests flow through the action they can be filtered, logged, enhanced via extending the InputData, provide custom routing etc.

All the filters and routers in the Aranea framework are services.

Author:
"Toomas Römer" , Jevgeni Kabanov (ekabanov at araneaframework dot org)

Nested Class Summary
static interface Service.Interface
          Defines the interface for handling requests.
 
Method Summary
 Service.Interface _getService()
          Provides access to the request handler.
 
Methods inherited from interface org.araneaframework.Component
_getComponent, getEnvironment, getScope, isAlive
 

Method Detail

_getService

public Service.Interface _getService()
Provides access to the request handler.

Returns:
An implementation of the interface that handles requests.