com.ibm.ia.gateway
Class GridConfiguration
- java.lang.Object
-
- com.ibm.ia.gateway.GridConfiguration
-
public class GridConfiguration extends java.lang.Object
Encapsulates the configuration needed to establish a GridConnection using the GridConnectionFactory.
-
-
Constructor Summary
Constructors Constructor and Description GridConfiguration()
Constructs an instance with no configuration.GridConfiguration(java.lang.String catalogServerEndpoint)
Constructs an instance with the catalog server endpoint configuration specified.GridConfiguration(java.lang.String catalogServerEndpoint, AuthenticationConfiguration authenticationConfiguration)
Constructs an instance with both the catalog server endpoint and the configuration used to authentication the client to a secured grid specified.
-
Method Summary
Methods Modifier and Type Method and Description AuthenticationConfiguration
getAuthenticationConfiguration()
Returns the configuration used to authentication the client to a secured grid.java.lang.String
getCatalogServerEndpoint()
Returns the catalog server endpoint configuration.void
setAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Set the configuration used to authentication the client to a secured grid.void
setCatalogServerEndpoint(java.lang.String catalogServerEndpoint)
Sets the catalog server endpoint configuration.
-
-
-
Constructor Detail
-
GridConfiguration
public GridConfiguration()
Constructs an instance with no configuration.
-
GridConfiguration
public GridConfiguration(java.lang.String catalogServerEndpoint)
Constructs an instance with the catalog server endpoint configuration specified.- Parameters:
catalogServerEndpoint
- At least one catalog server endpoint, for example "localhost:2809", separated by commas.
-
GridConfiguration
public GridConfiguration(java.lang.String catalogServerEndpoint, AuthenticationConfiguration authenticationConfiguration)
Constructs an instance with both the catalog server endpoint and the configuration used to authentication the client to a secured grid specified.- Parameters:
catalogServerEndpoint
- At least one catalog server endpoint, for example "localhost:2809", separated by commas.authenticationConfiguration
- Client authentication configuration.
-
-
Method Detail
-
getCatalogServerEndpoint
public java.lang.String getCatalogServerEndpoint()
Returns the catalog server endpoint configuration.- Returns:
- The catalog server endpoint configuration.
-
setCatalogServerEndpoint
public void setCatalogServerEndpoint(java.lang.String catalogServerEndpoint)
Sets the catalog server endpoint configuration.- Parameters:
catalogServerEndpoint
- At least one catalog server endpoint, for example "localhost:2809", separated by commas.
-
getAuthenticationConfiguration
public AuthenticationConfiguration getAuthenticationConfiguration()
Returns the configuration used to authentication the client to a secured grid.- Returns:
- The client authentication configuration.
-
setAuthenticationConfiguration
public void setAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration)
Set the configuration used to authentication the client to a secured grid.- Parameters:
authenticationConfiguration
- Client authentication configuration.
-
-