com.cedarsoft.provider
Class AbstractContextualProvider<T,C,E extends Throwable>

java.lang.Object
  extended by com.cedarsoft.provider.AbstractContextualProvider<T,C,E>
Type Parameters:
T - the type that is provided
C - the context
E - the exception that is thrown
All Implemented Interfaces:
ContextualProvider<T,C,E>

public abstract class AbstractContextualProvider<T,C,E extends Throwable>
extends Object
implements ContextualProvider<T,C,E>

Abstract AbstractContextualProvider class.

Author:
Johannes Schneider (js@cedarsoft.com)

Constructor Summary
AbstractContextualProvider()
           
 
Method Summary
 Provider<T,E> createProvider(C context)
          createProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.cedarsoft.provider.ContextualProvider
getDescription, provide
 

Constructor Detail

AbstractContextualProvider

public AbstractContextualProvider()
Method Detail

createProvider

@NotNull
public Provider<T,E> createProvider(@NotNull
                                            C context)

createProvider

Parameters:
context - a C object.
Returns:
a Provider object.


Copyright © 2010 cedarsoft GmbH. All Rights Reserved.