ListenerRegistration<MountProvisionListener> registerProvisionListener(MountProvisionListener listener);
- public interface DOMMountPointBuilder {
+ interface DOMMountPointBuilder {
<T extends DOMService> DOMMountPointBuilder addService(Class<T> type,T impl);
* @throws InterruptedException if interrupted while waiting
* @throws NullPointerException if notification is null.
*/
- @Nonnull ListenableFuture<? extends Object> putNotification(@Nonnull DOMNotification notification) throws InterruptedException;
+ @Nonnull ListenableFuture<?> putNotification(@Nonnull DOMNotification notification) throws InterruptedException;
/**
* Attempt to publish a notification. The result of this method is a {@link ListenableFuture}
* the implementation from accepting the notification for delivery.
* @throws NullPointerException if notification is null.
*/
- @Nonnull ListenableFuture<? extends Object> offerNotification(@Nonnull DOMNotification notification);
+ @Nonnull ListenableFuture<?> offerNotification(@Nonnull DOMNotification notification);
/**
* Attempt to publish a notification. The result of this method is a {@link ListenableFuture}
* @throws NullPointerException if notification or unit is null.
* @throws IllegalArgumentException if timeout is negative.
*/
- @Nonnull ListenableFuture<? extends Object> offerNotification(@Nonnull DOMNotification notification,
+ @Nonnull ListenableFuture<?> offerNotification(@Nonnull DOMNotification notification,
@Nonnegative long timeout, @Nonnull TimeUnit unit) throws InterruptedException;
}
*
*
*/
- public interface ConsumerSession {
+ interface ConsumerSession {
boolean isClosed();
* functionality provided by other {@link Provider}s.
*
*/
- public interface ProviderSession extends ConsumerSession {
+ interface ProviderSession extends ConsumerSession {
/**
* Closes a session between provider and SAL.
*
* @param session
* Unique session between consumer and SAL.
*/
- public void onSessionInitiated(ConsumerSession session);
+ void onSessionInitiated(ConsumerSession session);
/**
* @deprecated - no longer used or needed
* }
*/
@Deprecated
- public Collection<ConsumerFunctionality> getConsumerFunctionality();
+ Collection<ConsumerFunctionality> getConsumerFunctionality();
/**
* @deprecated - no longer used or needed
*/
@Deprecated
- public interface ConsumerFunctionality {
+ interface ConsumerFunctionality {
}
}
* @param session
* Unique session between provider and SAL.
*/
- public void onSessionInitiated(ProviderSession session);
+ void onSessionInitiated(ProviderSession session);
/**
* @deprecated - No longer used or needed
* }
*/
@Deprecated
- public Collection<ProviderFunctionality> getProviderFunctionality();
+ Collection<ProviderFunctionality> getProviderFunctionality();
/**
* @deprecated - no longer used or needed
*/
@Deprecated
- public interface ProviderFunctionality {
+ interface ProviderFunctionality {
}
}