Package de.fraunhofer.iese.mydata.pep
Class PepBeanFactory
java.lang.Object
de.fraunhofer.iese.mydata.pep.PepBeanFactory
Factory for
ReactivePep.
Creates a ReactivePep for an Interface that is annotated with
PepServiceDescription. The resulting instance (dynamic proxy) implements the Intefacee.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TCreate aReactivePepthat implements the given interfaceOfPep.
-
Constructor Details
-
PepBeanFactory
-
-
Method Details
-
createPep
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.
-