com.plumtree.server.xui
Interface IServiceManager


public interface IServiceManager

IServiceManager allows clients to create IService objects. In particular IServiceManager is responsible for setting up the requested IService with the correct XSL file and transformer.

Author:
danad, Akash Jain
See Also:
IService

Method Summary
 void Initialize(java.lang.String bstrXSLTFile)
          Initialize the service manager with the given XSL file.
 java.lang.Object OpenXUIService(IPTSession pSession, java.lang.Object vAppData, java.lang.Object vsaServiceTypeURIs, com.plumtree.openfoundation.util.IXPPropertyBag pPBagParent, int lWebServiceID, int lTimeoutSeconds)
          This function initializes and returns an IService.
 void Refresh(java.lang.String bstrServiceURI)
          Currently unimplemented, Refresh would be used to load static content for the service into the Plumtree Image Server.
 

Method Detail

Initialize

void Initialize(java.lang.String bstrXSLTFile)
Initialize the service manager with the given XSL file. The XSL file should be a String that gives the full path to the file.

Parameters:
bstrXSLTFile - String representing the full path to the XSL file.

Refresh

void Refresh(java.lang.String bstrServiceURI)
Currently unimplemented, Refresh would be used to load static content for the service into the Plumtree Image Server.

Parameters:
bstrServiceURI - DOCUMENT_ME

OpenXUIService

java.lang.Object OpenXUIService(IPTSession pSession,
                                java.lang.Object vAppData,
                                java.lang.Object vsaServiceTypeURIs,
                                com.plumtree.openfoundation.util.IXPPropertyBag pPBagParent,
                                int lWebServiceID,
                                int lTimeoutSeconds)
This function initializes and returns an IService.

Parameters:
pSession - current user's session
vAppData - typically an IPTState to be used in resolve gateway'd URIs
vsaServiceTypeURIs - the URIs for the service to connect to
pPBagParent - a property bag to be passed to the service
lWebServiceID - the associated web service
lTimeoutSeconds - the timeout in seconds
Returns:
an IService that can be used to get editable properties for a particular service.