* For more information about session-based access see {@link ConsumerContext}
* and {@link ProviderContext}
*/
+@Deprecated
public interface BindingAwareBroker {
- /*
- * @deprecated Use registerConsumer(BindingAwareConsumer cons) instead (BundleContext is no longer used)
- */
@Deprecated
ConsumerContext registerConsumer(BindingAwareConsumer consumer, BundleContext ctx);
* @throws IllegalStateException
* If the consumer is already registered.
*/
+ @Deprecated
ConsumerContext registerConsumer(BindingAwareConsumer consumer);
/*
* @throws IllegalStateException
* If the consumer is already registered.
*/
+ @Deprecated
ProviderContext registerProvider(BindingAwareProvider provider);
/**
* infrastructure services and other functionality provided by
* {@link BindingAwareProvider}s.
*/
+ @Deprecated
interface ConsumerContext extends RpcConsumerRegistry {
/**
* functionality provided by other {@link BindingAwareConsumer}s.
*
*/
+ @Deprecated
interface ProviderContext extends ConsumerContext, RpcProviderRegistry {
}