public class PersistableAnnotationInvokerPreprocessor extends Object implements InvokerPreprocessor
This InvokerPreprocessor
implementation checks the Persistable
annotations of the target operation
and sets a persistable JCR session for the current request context if found.
Constructor and Description |
---|
PersistableAnnotationInvokerPreprocessor() |
Modifier and Type | Method and Description |
---|---|
Object |
preprocoess(org.apache.cxf.message.Exchange exchange,
Object request)
If this preprocessor is able to decide a return message before continuing with the default JAXRS processing,
then this method should return a message object.
|
public PersistableAnnotationInvokerPreprocessor()
public Object preprocoess(org.apache.cxf.message.Exchange exchange, Object request)
InvokerPreprocessor
preprocoess
in interface InvokerPreprocessor
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.