Class PApplicationServices

java.lang.Object
com.portal.bas.PClientServices
com.portal.bas.PApplicationServices

public class PApplicationServices extends PClientServices
PApplicationServices is a subclass of PClientServices that provides the services needed to run a stand-alone application. Use PInfranetApplet at run-time.
Version:
4
Author:
Larry Lynch-Freshner
  • Constructor Details

    • PApplicationServices

      public PApplicationServices()
      Creates a default instance of the PApplicationServices object.
    • PApplicationServices

      public PApplicationServices(JFrame mainFrame)
      Creates a default instance of the PApplicationServices object in the specified main window.
      Parameters:
      mainFrame - the window in which to load the application panel
  • Method Details

    • getMainPane

      public Component getMainPane()
      Gets the main frame for the application or creates one if necessary.
      Specified by:
      getMainPane in class PClientServices
      Returns:
      The main frame window reference.
      See Also:
    • getDefaultProperties

      public Properties getDefaultProperties()
      Gets the default properties. These can include properties specified in the applet's "param" spec.
      Specified by:
      getDefaultProperties in class PClientServices
      Returns:
      A Properties object.
    • getConnection

      public PInfranetConnectionImpl getConnection()
      Retrieves an instance of PInfranetConnectionImpl. For applications, the connection returned by the server is the actual implementation class. Sometimes, applications may directly need this connection.
      Returns:
      An instance of PInfranetConnectionImpl.
    • getAppController

      public PInfranetAppController getAppController()
      Retrieves an instance of PInfranetAppController. For applications, the connection returned by the server is the actual implementation class. Sometimes, applications may directly need this connection.
      Returns:
      An instance of PInfranetAppController.
    • getServer

      public PBAServer getServer()
      Gets a reference to the PBAServer implementation.
      Specified by:
      getServer in class PClientServices
      Returns:
      A reference to the BAS server.