Package com.portal.bas
Class PApplicationServices
java.lang.Object
com.portal.bas.PClientServices
com.portal.bas.PApplicationServices
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
-
Field Summary
Fields inherited from class com.portal.bas.PClientServices
mBAServer, mConnection, mCSHManager, mDefaults, mHelp, mHelpSet, mPool, mResources, RESKEY -
Constructor Summary
ConstructorsConstructorDescriptionCreates a default instance of thePApplicationServicesobject.PApplicationServices(JFrame mainFrame) Creates a default instance of thePApplicationServicesobject in the specified main window. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves an instance ofPInfranetAppController.Retrieves an instance ofPInfranetConnectionImpl.Gets the default properties.Gets the main frame for the application or creates one if necessary.Gets a reference to thePBAServerimplementation.Methods inherited from class com.portal.bas.PClientServices
addResourceBundle, confirmationMsg, confirmationMsg, confirmationMsg, confirmationMsg, connect, createClass, createClientException, createController, createDialogClass, createModelHandle, createNewModel, doLogin, doLogin, doLogout, errorMsg, errorMsg, errorMsg, errorMsg, getClassToInstantiate, getContext, getCSHManager, getDefaultBook, getHelpObj, getModelField, getPermissionFor, getResource, getResources, getRestrictionOn, getUserPreferences, init, initHelp, invokeInThread, invokeInThread, isConnectedToInfranet, lastChanceLogin, loadImageIcon, loadImageIcon, logRemote, mergeHelp, registerApp, registerComponent, registerHelpButton, registerHelpIDFor, releaseContext, saveUserPreferences, setModelField, setPropertyURL, setPropertyURL, setUserPreferences, unregisterComponent
-
Constructor Details
-
PApplicationServices
public PApplicationServices()Creates a default instance of thePApplicationServicesobject. -
PApplicationServices
Creates a default instance of thePApplicationServicesobject in the specified main window.- Parameters:
mainFrame- the window in which to load the application panel
-
-
Method Details
-
getMainPane
Gets the main frame for the application or creates one if necessary.- Specified by:
getMainPanein classPClientServices- Returns:
- The main frame window reference.
- See Also:
-
getDefaultProperties
Gets the default properties. These can include properties specified in the applet's"param"spec.- Specified by:
getDefaultPropertiesin classPClientServices- Returns:
- A
Propertiesobject.
-
getConnection
Retrieves an instance ofPInfranetConnectionImpl. 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
Retrieves an instance ofPInfranetAppController. 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
Gets a reference to thePBAServerimplementation.- Specified by:
getServerin classPClientServices- Returns:
- A reference to the BAS server.
-