com.ibm.cics.core.connections
Interface IWritableConnectionProvider

All Superinterfaces:
IConnectionProvider

public interface IWritableConnectionProvider
extends IConnectionProvider

Interface for IConnectionProviders that support update.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.cics.core.connections.IConnectionProvider
IConnectionProvider.ConnectionParametersAddedEvent, IConnectionProvider.ConnectionParametersRemovedEvent, IConnectionProvider.ConnectionParametersUpdatedEvent, IConnectionProvider.ConnectionProviderConnectionParametersEvent, IConnectionProvider.ConnectionProviderEvent, IConnectionProvider.ConnectionProviderListener, IConnectionProvider.ConnectionProviderStaleEvent, IConnectionProvider.ConnectionProviderStatusChangedEvent
 
Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 void clear()
          Removes all connection parameters from this connection provider.
 ConnectionParameters createConnectionParameters(java.lang.String name, java.lang.String connectionTypeId, ConnectionParameters.AttributeValue... attributes)
          Create a new set of ConnectionParameters in this connection provider
 ConnectionParameters createConnectionParameters(java.lang.String name, java.lang.String connectionTypeId, java.util.Map<java.lang.String,java.lang.String> attributes)
          Create a new set of ConnectionParameters in this connection provider
 void removeConfiguration(java.lang.String id)
          Removes a specific ConnectionParameters from this connection provider.
 void updateConnectionParameters(ConnectionParameters newParameters)
          Replaces a set of connection parameters with an updated version
 
Methods inherited from interface com.ibm.cics.core.connections.IConnectionProvider
addListener, getConnection, getConnections, getDescription, getId, refresh
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

clear

void clear()
Removes all connection parameters from this connection provider.


removeConfiguration

void removeConfiguration(java.lang.String id)
Removes a specific ConnectionParameters from this connection provider.

Parameters:
id - the ID of the parameters to remove

updateConnectionParameters

void updateConnectionParameters(ConnectionParameters newParameters)
Replaces a set of connection parameters with an updated version

Parameters:
newParameters - parameters to replace with

createConnectionParameters

ConnectionParameters createConnectionParameters(java.lang.String name,
                                                java.lang.String connectionTypeId,
                                                ConnectionParameters.AttributeValue... attributes)
Create a new set of ConnectionParameters in this connection provider

Parameters:
name - the name to use
connectionTypeId - the type ID to use
attributes - the attributes to use
Returns:
the new connection parameters

createConnectionParameters

ConnectionParameters createConnectionParameters(java.lang.String name,
                                                java.lang.String connectionTypeId,
                                                java.util.Map<java.lang.String,java.lang.String> attributes)
Create a new set of ConnectionParameters in this connection provider

Parameters:
name - the name to use
connectionTypeId - the type ID to use
attributes - the attributes to use
Returns:
the new connection parameters


Copyright © 2013 IBM Corp. All Rights Reserved.