public interface DtAtRtContextFactory
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);
Modifier and Type | Method and Description |
---|---|
DtAtRtContext |
createContext(oracle.mds.core.MDSSession mdsSession)
Creates a custom context given the MDS session.
|
DtAtRtContext createContext(oracle.mds.core.MDSSession mdsSession)