<T extends MountPointListener> ListenerRegistration<T> registerListener(InstanceIdentifier<?> path, T listener);
- public interface MountPointListener extends EventListener {
+ interface MountPointListener extends EventListener {
void onMountPointCreated(InstanceIdentifier<?> path);
* constraints prevent
* @throws NullPointerException if the notification is null
*/
- ListenableFuture<? extends Object> offerNotification(Notification notification);
+ ListenableFuture<?> offerNotification(Notification notification);
/**
* Publishes a notification to subscribed listeners. This initiates
* @throws NullPointerException if the notification or unit is null
* @throws IllegalArgumentException if timeout is negative.
*/
- ListenableFuture<? extends Object> offerNotification(Notification notification, int timeout, TimeUnit unit)
+ ListenableFuture<?> offerNotification(Notification notification, int timeout, TimeUnit unit)
throws InterruptedException;
}
* infrastructure services and other functionality provided by
* {@link Provider}s.
*/
- public interface ConsumerContext extends RpcConsumerRegistry {
+ interface ConsumerContext extends RpcConsumerRegistry {
/**
* Returns a session specific instance (implementation) of requested
* functionality provided by other {@link BindingAwareConsumer}s.
*
*/
- public interface ProviderContext extends ConsumerContext, RpcProviderRegistry {
+ interface ProviderContext extends ConsumerContext, RpcProviderRegistry {
}
*
* @param <T> the implemented RPC service interface
*/
- public interface RpcRegistration<T extends RpcService> extends ObjectRegistration<T> {
+ interface RpcRegistration<T extends RpcService> extends ObjectRegistration<T> {
/**
* Returns the implemented RPC service interface.
*
* @param <T> the implemented RPC service interface
*/
- public interface RoutedRpcRegistration<T extends RpcService> extends RpcRegistration<T>,
+ interface RoutedRpcRegistration<T extends RpcService> extends RpcRegistration<T>,
RoutedRegistration<Class<? extends BaseIdentity>, InstanceIdentifier<?>, T> {
/**
* {@inheritDoc}
*/
@Override
- public void publish(Notification notification);
+ void publish(Notification notification);
/**
* {@inheritDoc}
/**
* Interface for a listener interested in being notified about notification subscriptions.
*/
- public interface NotificationInterestListener extends EventListener {
+ interface NotificationInterestListener extends EventListener {
/**
* Callback that is invoked when a notification listener subscribes for a
*/
@Override
@Deprecated
- public DataObject readConfigurationData(InstanceIdentifier<? extends DataObject> path);
+ DataObject readConfigurationData(InstanceIdentifier<? extends DataObject> path);
/**
* Reads data subtree from operational store.
*/
@Override
@Deprecated
- public DataObject readOperationalData(InstanceIdentifier<? extends DataObject> path);
+ DataObject readOperationalData(InstanceIdentifier<? extends DataObject> path);
/**
* Register a data change listener for particular subtree.
* which provides more fine-grained registration options.
*/
@Deprecated
- public ListenerRegistration<DataChangeListener> registerDataChangeListener(
+ ListenerRegistration<DataChangeListener> registerDataChangeListener(
InstanceIdentifier<? extends DataObject> path, DataChangeListener listener);
}
org.opendaylight.controller.md.sal.common.api.data.DataChangeListener<InstanceIdentifier<? extends DataObject>, DataObject> {
@Override
- public void onDataChanged(DataChangeEvent<InstanceIdentifier<?>, DataObject> change);
+ void onDataChanged(DataChangeEvent<InstanceIdentifier<?>, DataObject> change);
}
/**
* Listener for transaction state changes
*/
- public interface DataTransactionListener extends EventListener {
+ interface DataTransactionListener extends EventListener {
/**
* Callback is invoked after each transaction status change.
*
public interface MountProviderService extends MountService {
@Override
- public MountProviderInstance getMountPoint(InstanceIdentifier<?> path);
+ MountProviderInstance getMountPoint(InstanceIdentifier<?> path);
MountProviderInstance createMountPoint(InstanceIdentifier<?> path);
ListenerRegistration<MountProvisionListener> registerProvisionListener(MountProvisionListener listener);
- public interface MountProvisionListener extends EventListener {
+ interface MountProvisionListener extends EventListener {
void onMountPointCreated(InstanceIdentifier<?> path);