com.sas.prompts
Interface DataProviderInterface


public interface DataProviderInterface

This interface provides an application context for the prompt framework such as access to the data connection and other methods for the value provider classes.


Field Summary
static java.lang.String DATA_PROVIDER_KEY
           
 
Method Summary
 com.sas.storage.valueprovider.ValueProviderInterface getValueProvider(com.sas.storage.valueprovider.ValueProviderInterface valueProvider)
          This is a convenience method to be able to use different implementation of the ValueProvider.
 

Field Detail

DATA_PROVIDER_KEY

static final java.lang.String DATA_PROVIDER_KEY
See Also:
Constant Field Values
Method Detail

getValueProvider

com.sas.storage.valueprovider.ValueProviderInterface getValueProvider(com.sas.storage.valueprovider.ValueProviderInterface valueProvider)
This is a convenience method to be able to use different implementation of the ValueProvider. Implementations of this method will typically return the value provider passed in. Certain applications may want to use a data provider which provides a wrapper around the value provider passed in, such as needed for multi-tier communications with the SAS server.

Parameters:
valueProvider - a value provider
Returns:
either same value provider or a different valueProvider



Copyright © 2009 SAS Institute Inc. All Rights Reserved.