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
-
Method Summary
Modifier and TypeMethodDescription<T> T
Create aReactivePep
that implements the given interfaceOfPep.
-
Constructor Details
-
PepBeanFactory
-
-
Method Details
-
createPep
Create aReactivePep
that 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
ReactivePep
that implements the given interfaceOfPep and is able to enforce a decision at PDP by sending events.
-