|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.cinnamon.service.ServiceProcessor
public class ServiceProcessor
Processes a single request. This involves invoking all ServiceInvokers and the service itself and returning the result.
| Constructor Summary | |
|---|---|
ServiceProcessor(ServiceRequest request,
ServiceResponse response,
ServiceInvoker invoker,
Iterator<ServiceInterceptor> interceptors)
Creates a new ServiceProcessor. |
|
| Method Summary | |
|---|---|
ServiceRequest |
getRequest()
Returns the request. |
ServiceResponse |
getResponse()
Returns the response. |
Object |
proceed()
Proceeds with processing the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceProcessor(ServiceRequest request,
ServiceResponse response,
ServiceInvoker invoker,
Iterator<ServiceInterceptor> interceptors)
request - the service requestresponse - the service responseinvoker - the ServiceInvoker instance to useinterceptors - the interceptors to invoke before the actual service invocation| Method Detail |
|---|
public ServiceRequest getRequest()
public ServiceResponse getResponse()
public Object proceed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||