com.filenet.api.core
Class Factory.Connection
- java.lang.Object
-
- com.filenet.api.core.Factory.Connection
-
- Enclosing class:
- Factory
public static class Factory.Connection extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Connection
getConnection(java.lang.String uri)
Given a URI, creates and returns a newConnection
object.static Connection
getConnection(java.lang.String uri, ConfigurationParameters parameters)
Given a URI and configuration parameters, creates and returns a newConnection
object with a copy of the caller's parameters.
-
-
-
Method Detail
-
getConnection
public static Connection getConnection(java.lang.String uri)
Given a URI, creates and returns a newConnection
object. TheConnection
object represents a logical connection to a FileNet P8 domain. This method uses default configuration parameters and is equivalent to callinggetConnection(uri, new ConfigurationParameters())
.- Parameters:
uri
- The Universal Resource Identity (URI) for this connection. For more information, seegetURI
.
-
getConnection
public static Connection getConnection(java.lang.String uri, ConfigurationParameters parameters)
Given a URI and configuration parameters, creates and returns a newConnection
object with a copy of the caller's parameters. Changes to the caller's parameters are not reflected in the new connection. TheConnection
object represents a logical connection to a FileNet P8 domain.- Parameters:
uri
- The Universal Resource Identity (URI) for this connection. For more information, seegetURI
.parameters
- AConfigurationParameters
instance specifying the configuration parameters for this connection.
-
-