Class InterceptorFactorySupport<E extends org.apache.camel.Endpoint,T extends Interceptor<E>>
- java.lang.Object
-
- org.openehealth.ipf.platform.camel.ihe.core.InterceptorFactorySupport<E,T>
-
- All Implemented Interfaces:
Serializable
,InterceptorFactory<E,T>
- Direct Known Subclasses:
ConsumerInPayloadLoggerInterceptor.Factory
,ConsumerOutPayloadLoggerInterceptor.Factory
,InterceptorFactoryBean
,ProducerInPayloadLoggerInterceptor.Factory
,ProducerOutPayloadLoggerInterceptor.Factory
public class InterceptorFactorySupport<E extends org.apache.camel.Endpoint,T extends Interceptor<E>> extends Object implements InterceptorFactory<E,T>
Trivial InterceptorFactory that calls Class.newInstance()- Since:
- 3.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InterceptorFactorySupport(Class<T> clazz)
-
-
-
Field Detail
-
clazz
protected final Class<T extends Interceptor<E>> clazz
-
-
Method Detail
-
getNewInstance
public T getNewInstance()
Description copied from interface:InterceptorFactory
Returns a new instance of an Interceptor- Specified by:
getNewInstance
in interfaceInterceptorFactory<E extends org.apache.camel.Endpoint,T extends Interceptor<E>>
- Returns:
- new instance of an Interceptor
-
-