Class SubscriptionPublisherInjectionWrapper
- java.lang.Object
-
- io.joynr.jeeintegration.multicast.SubscriptionPublisherInjectionWrapper
-
- All Implemented Interfaces:
InvocationHandler
public class SubscriptionPublisherInjectionWrapper extends Object implements InvocationHandler
This class is used tocreate an invocation handlerwhich can be used tocreate a proxywhich intercepts the subscription publisher provided by joynr andadds it to the producerso that it can be injected in bean instances in the CDI runtime. The subscription publishers which areprovided by the joynr runtimeare further wrapped in aSubscriptionPublisherWrapper, which is responsbile for ensuring that only multicast publications are made from within the JEE container runtime.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionPublisherInjectionWrappercreateInvocationHandler(javax.enterprise.inject.spi.Bean<?> bean, javax.enterprise.inject.spi.BeanManager beanManager)ObjectcreateProxy()Objectinvoke(Object proxy, Method method, Object[] args)
-
-
-
Method Detail
-
createInvocationHandler
public static SubscriptionPublisherInjectionWrapper createInvocationHandler(javax.enterprise.inject.spi.Bean<?> bean, javax.enterprise.inject.spi.BeanManager beanManager)
-
createProxy
public Object createProxy()
-
-