com.sapportals.portal.appintegrator.psid

Interface IPSIDService


public interface IPSIDService

Provides methods to register, unregister and lookup PSIDGenrators. A IPSIDGenerator is registered and lookuped for a certain key which is a String.


Field Summary
static String KEY
          the "true" IPSIDService key
 
Method Summary
 IPSIDGenerator getPSIDGeneratorForKey(String key)
          Returns the IPSIDGenerator that is registered under the given key.
 void registerPSIDGenerator(String key, IPSIDGenerator generator)
          Registers the given generator for the given key.
 void unregisterPSIDGenerator(String key)
          Unregisters the generator that is known by the IPSIDService under the given key.
 

Field Detail

KEY

static final String KEY
the "true" IPSIDService key

See Also:
Constant Field Values
Method Detail

registerPSIDGenerator

void registerPSIDGenerator(String key,
                           IPSIDGenerator generator)
Registers the given generator for the given key. The method


unregisterPSIDGenerator

void unregisterPSIDGenerator(String key)
                             throws NoSuchPSIDGeneratorException
Unregisters the generator that is known by the IPSIDService under the given key. If the key is null or couldn't be found, the method does nothing.

Throws:
NoSuchPSIDGeneratorException, - if there is no generator registered for the given key
NoSuchPSIDGeneratorException
See Also:
registerPSIDGenerator(String, IPSIDGenerator)

getPSIDGeneratorForKey

IPSIDGenerator getPSIDGeneratorForKey(String key)
                                      throws NullPointerException,
                                             NoSuchPSIDGeneratorException
Returns the IPSIDGenerator that is registered under the given key. If key is null or unknown the method throws an exception.

Throws:
NullPointerException - if key is null
NoSuchPSIDGeneratorException, - if there is no generator registered for the given key
NoSuchPSIDGeneratorException
See Also:
registerPSIDGenerator(String, IPSIDGenerator)
Access Rights

This class can be accessed from:


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


Copyright 2015 SAP AG Complete Copyright Notice