|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.dvb.application.storage.StoredApplicationServiceFactory
This factory creates new Service objects
representing stand-alone stored application services.
Services thus created shall appear in the list of services maintained by the
SIManager until removed using StoredApplicationService.remove
or some MHP
terminal specific mechanism. i.e. they shall be returned by filterServices
both when passed an instance of ServiceTypeFilter
constructed with the type
StoredApplicationServiceType.STORED_APPLICATION_SERVICE
and when passed null to
list all known services.
Constructor Summary | |
protected |
StoredApplicationServiceFactory()
This constructor is provided for the use of implementations and specifications which extend the present document. |
Method Summary | |
abstract StoredApplicationService |
createStoredApplicationService(int organisation_id,
int service_id,
java.lang.String serviceName)
Creates a new stored application service. |
static StoredApplicationServiceFactory |
getInstance()
Get the singleton instance of this class, or null if and only if this MHP implementation does not support stand-alone stored applications. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected StoredApplicationServiceFactory()
Method Detail |
public static StoredApplicationServiceFactory getInstance()
public abstract StoredApplicationService createStoredApplicationService(int organisation_id, int service_id, java.lang.String serviceName) throws ServiceAlreadyExistsException
organisation_id
- the organisation_id of the organisation
to whom this service belongs toservice_id
- unique identifier for this service within the
organisationserviceName
- a name for the service that can be displayed to
the end user to identify this service
ServiceAlreadyExistsException
- thrown if a stored application
service with the same
organisation_id and service_id
already exists in the terminal
java.lang.SecurityException
- thrown if the application
calling this method does not have an ApplicationStoragePermission
with action "createService" for the organisation_id passed in
as the parameter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |