Class SubscriptionPublisherWrapper
- java.lang.Object
-
- io.joynr.jeeintegration.multicast.SubscriptionPublisherWrapper
-
- All Implemented Interfaces:
InvocationHandler
public class SubscriptionPublisherWrapper extends Object implements InvocationHandler
This class is used to create a dynamic proxy around aSubscriptionPublisherinstance which will check each call to to a fire... method to ensure it's a non-selective, i.e. multicast, invocation. If not, then we throw anJoynrIllegalStateException.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends SubscriptionPublisher>
TcreateWrapper(SubscriptionPublisher subscriptionPublisher, Class<T> providedInterface)Objectinvoke(Object proxy, Method method, Object[] args)
-
-
-
Method Detail
-
createWrapper
public static <T extends SubscriptionPublisher> T createWrapper(SubscriptionPublisher subscriptionPublisher, Class<T> providedInterface)
-
-