|
Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components 11g Release 2 (11.1.2.0.0) E18581-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DtAtRtContextFactory
Factory class used to vend custom subclasses of DtAtRtContext. An example usage of this class to perform custom changes to the CPX application on bind:
final BindingContext bindingContext = ...;
final String pagePath = ...;
PageOptions options = PageOptions.create(bindingContext, pagePath);
options.setDtAtRtContextFactory(new DtAtRtContextFactory()
{
public DtAtRtContext createContext(MDSSession mdsSession)
{
return new DtAtRtContext(mdsSession, bidingContext, pagePath)
{
public void setupApplication(Application application)
{
// do some work here
}
};
}
});
Page page = Page.getInstance(options);
Method Summary | |
---|---|
DtAtRtContext |
createContext(oracle.mds.core.MDSSession mdsSession)
Creates a custom context given the MDS session. |
Method Detail |
---|
DtAtRtContext createContext(oracle.mds.core.MDSSession mdsSession)
|
Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components 11g Release 2 (11.1.2.0.0) E18581-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |