org.mozilla.webclient
Interface WebclientFactory


public interface WebclientFactory

Do per-app one-time initialization and shutdown, as well as being the factory for per-window BrowserControl instances. This interface allows a pluggable webclient API implementation. The static methods in BrowserControlFactory call through to methods on this interface. The implementation of this interface must be a singleton and its the lifetime must be the same as the application.


Method Summary
 void appTerminate()
          See BrowserControlFactory.appTerminate().
 void deleteBrowserControl(BrowserControl toDelete)
          See BrowserControlFactory.deleteBrowserControl(org.mozilla.webclient.BrowserControl).
 BrowserControl newBrowserControl()
          See BrowserControlFactory.newBrowserControl().
 void setAppData(java.lang.String absolutePathToNativeBrowserBinDir)
          See BrowserControlFactory.setAppData(java.lang.String).
 void setProfile(java.lang.String profileName)
          See BrowserControlFactory.setProfile(java.lang.String).
 

Method Detail

setAppData

void setAppData(java.lang.String absolutePathToNativeBrowserBinDir)
                throws java.io.FileNotFoundException,
                       java.lang.ClassNotFoundException

See BrowserControlFactory.setAppData(java.lang.String).

Throws:
java.io.FileNotFoundException
java.lang.ClassNotFoundException

setProfile

void setProfile(java.lang.String profileName)

See BrowserControlFactory.setProfile(java.lang.String).


appTerminate

void appTerminate()
                  throws java.lang.Exception

See BrowserControlFactory.appTerminate().

Throws:
java.lang.Exception

newBrowserControl

BrowserControl newBrowserControl()
                                 throws java.lang.InstantiationException,
                                        java.lang.IllegalAccessException,
                                        java.lang.IllegalStateException

See BrowserControlFactory.newBrowserControl().

Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.IllegalStateException

deleteBrowserControl

void deleteBrowserControl(BrowserControl toDelete)

See BrowserControlFactory.deleteBrowserControl(org.mozilla.webclient.BrowserControl).



Copyright © 2002-2005 Mozilla.org All Rights Reserved.