Class ServiceInterfaceHolder
- java.lang.Object
-
- lumis.portal.serviceinterface.GenericServiceInterface
-
- lumis.service.portalmanagement.serviceinterfaceinstance.ServiceInterfaceHolder
-
- All Implemented Interfaces:
IServiceInterface
public class ServiceInterfaceHolder extends GenericServiceInterface
ServiceInterfaceHolder- Since:
- 4.0.0
- Version:
- $Revision: 17606 $ $Date: 2015-07-24 10:56:40 -0300 (Fri, 24 Jul 2015) $
-
-
Constructor Summary
Constructors Constructor Description ServiceInterfaceHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
instanceAdded(ServiceInterfaceInstanceConfig config, ITransaction transaction)
Called by the service container to indicate that a service interface instance has been addedvoid
render(IServiceInterfaceRenderRequest request, IServiceInterfaceRenderResponse response)
Called by the service interface container to allow the service interface to generate the content of the response based on its current state.-
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface
instanceDeleted, instanceLoaded, instanceUnLoaded, load, processAction, register, renderBefore, unload
-
-
-
-
Method Detail
-
instanceAdded
public void instanceAdded(ServiceInterfaceInstanceConfig config, ITransaction transaction) throws ServiceInterfaceException, PortalException
Description copied from interface:IServiceInterface
Called by the service container to indicate that a service interface instance has been added- Specified by:
instanceAdded
in interfaceIServiceInterface
- Overrides:
instanceAdded
in classGenericServiceInterface
- Parameters:
config
- aServiceInterfaceInstanceConfig
object containing the service interface instance's configuration and initialization parameters- Throws:
ServiceInterfaceException
- if the service interface has problems fulfilling the requestPortalException
- if the service interface is unavailable to process the action at this time
-
render
public void render(IServiceInterfaceRenderRequest request, IServiceInterfaceRenderResponse response) throws ServiceInterfaceException, PortalException
Description copied from interface:IServiceInterface
Called by the service interface container to allow the service interface to generate the content of the response based on its current state.- Specified by:
render
in interfaceIServiceInterface
- Overrides:
render
in classGenericServiceInterface
- Parameters:
request
- the render requestresponse
- the render response- Throws:
ServiceInterfaceException
- if the service interface has problems fulfilling the rendering requestPortalException
- if the service interface is unavailable to perform render at this time
-
-