01: /**
02: *
03: */package clime.messadmin.providers.spi;
04:
05: import javax.servlet.ServletContext;
06:
07: /**
08: * Use this plug-in to display application-specific data.
09: * See {@link clime.messadmin.providers.spi.BaseTabularApplicationDataProvider} for displaying tabular data.
10: * @author Cédrik LIME
11: */
12: public interface ApplicationDataProvider extends BaseProvider {
13: /**
14: * @param context
15: * @return application-specific XHTML data for given Application, or null if it can be determined
16: */
17: public String getXHTMLApplicationData(ServletContext context);
18:
19: /**
20: * @param context
21: * @return application-specific data title for given Application, or null if it can be determined
22: */
23: public String getApplicationDataTitle(ServletContext context);
24: }
|