com.filenet.api.core
Class Factory.Connection

java.lang.Object
  extended by com.filenet.api.core.Factory.Connection
Enclosing class:
Factory

public static class Factory.Connection
extends java.lang.Object


Method Summary
static Connection getConnection(java.lang.String uri)
          Given a URI, creates and returns a new Connection object.
static Connection getConnection(java.lang.String uri, ConfigurationParameters parameters)
          Given a URI and configuration parameters, creates and returns a new Connection object with a copy of the caller's parameters.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnection

public static Connection getConnection(java.lang.String uri)
Given a URI, creates and returns a new Connection object. The Connection object represents a logical connection to a FileNet P8 domain. This method uses default configuration parameters and is equivalent to calling getConnection(uri, new ConfigurationParameters()).

Parameters:
uri - The Universal Resource Identity (URI) for this connection. For more information, see getURI.

getConnection

public static Connection getConnection(java.lang.String uri,
                                       ConfigurationParameters parameters)
Given a URI and configuration parameters, creates and returns a new Connection object with a copy of the caller's parameters. Changes to the caller's parameters are not reflected in the new connection. The Connection object represents a logical connection to a FileNet P8 domain.

Parameters:
uri - The Universal Resource Identity (URI) for this connection. For more information, see getURI.
parameters - A ConfigurationParameters instance specifying the configuration parameters for this connection.


© Copyright IBM Corporation 2006, 2008. All rights reserved.