org.tentackle.db
Interface IdSourceConnector


public interface IdSourceConnector

The connector establishes a connection to an IdSource. Typically, the connector is an IdPoolAgent or a local IdPool from PoolKeeper. However, other implementations are possible as well.

Author:
harald

Method Summary
 IdSource connect(Db db, String url, String space, String name, String realm)
          Connects the IdSource.
 

Method Detail

connect

IdSource connect(Db db,
                 String url,
                 String space,
                 String name,
                 String realm)
                 throws ApplicationException
Connects the IdSource.

Parameters:
db - is the db-connection
url - rmi-URL if the IdSource is remote, null = local
space - namespace
name - poolname
realm - poolrealm, null = none.
Returns:
the id source
Throws:
ApplicationException - if connection could not be established.


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de