com.cedarsoft.provider
Interface ContextualProvider<T,C,E extends java.lang.Throwable>
- Type Parameters:
T - the type that is providedC - the contextE - the exception that is thrown
- All Known Implementing Classes:
- AbstractContextualProvider
public interface ContextualProvider<T,C,E extends java.lang.Throwable>
Represents a provider.
provide
@NotNull
T provide(@NotNull
C context)
throws E extends java.lang.Throwable
- Provides the object
- Parameters:
context - the context
- Returns:
- the object that is provided
- Throws:
E extends java.lang.Throwable
getDescription
@NotNull
java.lang.String getDescription(@NotNull
C context)
Copyright © 2009 cedarsoft GmbH. All Rights Reserved.