com.sap.portal.servicedefinition

Interface IServiceInstanceCreator

All Superinterfaces:
IServiceRemoteSafe

public interface IServiceInstanceCreator
extends IServiceRemoteSafe

The interface for creating contextual service instances.

The interface should be implemented by the service provider. The framework automatically calls newInstance() to instantiate the service for the appopriate context(request).


Method Summary
 IServiceInstance newInstance()
          Creates a service instance that holds the state for the user session.
 void releaseInstances(IServiceInstance ctxService)
          Releases all resources used by a service instance whose user session was terminated.
 

Method Detail

newInstance

IServiceInstance newInstance()
Creates a service instance that holds the state for the user session.


releaseInstances

void releaseInstances(IServiceInstance ctxService)
Releases all resources used by a service instance whose user session was terminated.

Parameters:
ctxService - a service instance
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/common/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice