org.apache.openejb.bval
Class BeanValidationAppendixInterceptor

java.lang.Object
  extended by org.apache.openejb.bval.BeanValidationAppendixInterceptor

public class BeanValidationAppendixInterceptor
extends Object

A simple interceptor to validate parameters and returned value using bean validation spec. It doesn't use group for now.


Field Summary
static Class<?>[] BVAL_ARG_TYPES
           
static Class<?>[] HIBERNATE_ARG_TYPES
           
 
Constructor Summary
BeanValidationAppendixInterceptor()
           
 
Method Summary
 Object aroundInvoke(javax.interceptor.InvocationContext ejbContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BVAL_ARG_TYPES

public static final Class<?>[] BVAL_ARG_TYPES

HIBERNATE_ARG_TYPES

public static final Class<?>[] HIBERNATE_ARG_TYPES
Constructor Detail

BeanValidationAppendixInterceptor

public BeanValidationAppendixInterceptor()
Method Detail

aroundInvoke

public Object aroundInvoke(javax.interceptor.InvocationContext ejbContext)
                    throws Exception
Throws:
Exception


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.