Skip navigation links

Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.2.0)

E18581-03


oracle.adf.view.rich.dt
Interface DtAtRtContextFactory


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

createContext

DtAtRtContext createContext(oracle.mds.core.MDSSession mdsSession)
Creates a custom context given the MDS session. Other parameters to the constructor of DtAtRtContext are assumed to be known to this class.

Skip navigation links

Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.2.0)

E18581-03


Copyright © 1997, 2012, Oracle. All rights reserved.