com.bowstreet.builders.webapp.methods
Interface WebAppAccessConsumer
- All Known Implementing Classes:
- BeanCollectionDataRetriever, CustomDataRetriever
public interface WebAppAccessConsumer
Marker interface defining builer objects which require a WebAppAccess instance
to complete their work (typically because they need to access WebApp resources
such as Variables and Methods at runtime). The contract between the client and
the object implementing this interface is as follows: The client will first call
the setWebAppAccess(...) method on the object to provide the WebAppAccess instance
to be used in the execution of other methods implemented by the object. The
client will then call one or more additional methods on the object. Finally,
the client will call setWebAppAccess( null ) to disassociate the object from
the previously provided WebAppAccess instance. Note that the WebAppAccess
instance may initially be set to null if a WebAppAccess is not available to
the client; the object implementing this interface must take this into account.
-
Method Summary |
void |
setWebAppAccess(WebAppAccess webAppAccess)
Associate or disassociate a specific WebAppAccess instance with the object
implementing this interface. |
setWebAppAccess
void setWebAppAccess(WebAppAccess webAppAccess)
- Associate or disassociate a specific WebAppAccess instance with the object
implementing this interface. This WebAppAccess instance is only valid until
the client calls this method again with a null WebAppAccess value.
- Parameters:
webAppAccess
- The WebAppAccess instance to be used by other methods
in the class implementing this interface.
Copyright © 2009 IBM. All Rights Reserved.