E - The type of the EventProvider which is created by by this
object.public static interface EventProviderConfigurator.Final<E>
EventProvider.| Modifier and Type | Method and Description |
|---|---|
E |
create()
Returns an instance of the configured EventProvider.
|
default Supplier<E> |
createSupplier()
Returns a
Supplier which can be used to recreate instances of
the configured EventProvider. |
default Supplier<E> createSupplier()
Supplier which can be used to recreate instances of
the configured EventProvider.
The default implementation behaves as if
return () -> create()
E create()
Copyright © 2014–2015. All rights reserved.