Package de.fraunhofer.iese.mydata.pep
Class PepBeanFactory
- java.lang.Object
-
- de.fraunhofer.iese.mydata.pep.PepBeanFactory
-
@Component("pepFactory") public class PepBeanFactory extends ObjectFactory forReactivePep.Creates a
ReactivePepfor an Interface that is annotated withPepServiceDescription. The resulting instance (dynamic proxy) implements the Intefacee.
-
-
Constructor Summary
Constructors Constructor Description PepBeanFactory(de.fraunhofer.iese.mydata.IMyDataEnvironment myDataEnvironment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TcreatePep(Class<T> interfaceOfPep)Create aReactivePepthat implements the given interfaceOfPep.
-
-
-
Method Detail
-
createPep
public <T> T createPep(Class<T> interfaceOfPep)
Create aReactivePepthat implements the given interfaceOfPep.The interface must contain an annotation of type
PepServiceDescription.- Type Parameters:
T- Type of the Interface.- Parameters:
interfaceOfPep- The Interface to generate a PEP for.- Returns:
- Dynamic Prox
ReactivePepthat implements the given interfaceOfPep and is able to enforce a decision at PDP by sending events.
-
-