public interface PresentationProvider
| Modifier and Type | Field and Description | 
|---|---|
static PresentationType[] | 
EMPTY_PRESENTATION_TYPE  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
containsPresentation(AppServerConnection asConnection,
                    PresentationType<?> type)  | 
PresentationType[] | 
getDependencies(AppServerConnection asConnection,
               PresentationType<?> type)
Get a list of  
PresentationTypes that the given presentation depends on. | 
<T> BasicPresentation<T> | 
getPresentation(AppServerConnection asConnection,
               PresentationType<T> type)
Get the presentation indicated by the Interface class from the provider. 
 | 
PresentationType[] | 
getPresentationTypes(AppServerConnection asConnection)  | 
void | 
releasePresentation(AppServerConnection asConnection,
                   BasicPresentation<?> presentation)
Called when a client has finished using a presentation so that resources
 can be released. 
 | 
void | 
testPresentation(AppServerConnection asConnection,
                PresentationType<?> type)  | 
static final PresentationType[] EMPTY_PRESENTATION_TYPE
<T> BasicPresentation<T> getPresentation(AppServerConnection asConnection, PresentationType<T> type)
asConnection - intf - an interface class.boolean containsPresentation(AppServerConnection asConnection, PresentationType<?> type)
void testPresentation(AppServerConnection asConnection, PresentationType<?> type) throws ConnectionException
asConnection - type - ConnectionException - if the test failsPresentationType[] getPresentationTypes(AppServerConnection asConnection)
PresentationType[] getDependencies(AppServerConnection asConnection, PresentationType<?> type)
PresentationTypes that the given presentation depends on.asConnection - type - the subject of the query.PresentationTypes.void releasePresentation(AppServerConnection asConnection, BasicPresentation<?> presentation)
asConnection - presentation -