public class SubscriptionPublisherInjectionWrapper extends Object implements InvocationHandler
create an invocation handler
which can be used to create a proxy which intercepts
the subscription publisher provided by joynr and
adds it to the producer
so that it can be injected in bean instances in the CDI runtime.
The subscription publishers which are
provided by the joynr runtime
are further wrapped in a SubscriptionPublisherWrapper, which is responsbile for ensuring that only multicast
publications are made from within the JEE container runtime.| Modifier and Type | Method and Description |
|---|---|
static SubscriptionPublisherInjectionWrapper |
createInvocationHandler(javax.enterprise.inject.spi.Bean<?> bean,
javax.enterprise.inject.spi.BeanManager beanManager) |
Object |
createProxy() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
public static SubscriptionPublisherInjectionWrapper createInvocationHandler(javax.enterprise.inject.spi.Bean<?> bean, javax.enterprise.inject.spi.BeanManager beanManager)
public Object createProxy()
Copyright © 2019. All rights reserved.