org.eobjects.metamodel.intercept
Interface Interceptor<E>
- Type Parameters:
E - the type of object to intercept
- All Known Subinterfaces:
- DataSetInterceptor, QueryInterceptor, RowDeletionInterceptor, RowInsertionInterceptor, RowUpdationInterceptor, SchemaInterceptor, TableCreationInterceptor, TableDropInterceptor
- All Known Implementing Classes:
- ConvertedDataSetInterceptor, ConvertedRowInsertionInterceptor, ConvertedRowUpdationInterceptor
public interface Interceptor<E>
Defines a high-level interface for interceptors in MetaModel.
An intereptor can touch, modify, enhance or do other operations on certain
object types as they are passed around for execution in MetaModel. There are
5 types of concrete interceptors:
- Author:
- Kasper Sørensen
- See Also:
QueryInterceptor,
DataSetInterceptor,
RowInsertionInterceptor,
TableCreationInterceptor,
SchemaInterceptor
|
Method Summary |
E |
intercept(E input)
Interception method invoked by MetaModel when the intercepted object is
being activated. |
intercept
E intercept(E input)
- Interception method invoked by MetaModel when the intercepted object is
being activated.
- Parameters:
input - the intercepted object
- Returns:
- the intercepted object, or a modification of this if the object
is to be replaced by the interceptor. The returned object must
not be null.
Copyright © 2007-2013. All Rights Reserved.