com.sapportals.portal.appintegrator.psid
Interface IPSIDService


public interface IPSIDService

Version:
$Revision:$.

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

Field Detail

KEY

public static final java.lang.String KEY
the "true" IPSIDService key
Method Detail

registerPSIDGenerator

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

unregisterPSIDGenerator

public void unregisterPSIDGenerator(java.lang.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
See Also:
registerPSIDGenerator(String, IPSIDGenerator)

getPSIDGeneratorForKey

public IPSIDGenerator getPSIDGeneratorForKey(java.lang.String key)
                                      throws java.lang.NullPointerException,
                                             NoSuchPSIDGeneratorException
Returns the IPSIDGenerator that is registered under the given key. If key is null or unknown the method throws an exception.
Throws:
java.lang.NullPointerException - if key is null
NoSuchPSIDGeneratorException, - if there is no generator registered for the given key
See Also:
registerPSIDGenerator(String, IPSIDGenerator)