WebSphere:*,type=TransportChannelService
MBean TransportChannelService
Runtime control of the Transport Channel Service
Operation Summary | |
com.ibm.websphere.channel.framework.ChannelFactoryData | updateAllChannelFactoryProperties( Registers common properties that are to be shared by all instances of a channel generated by a given channel factory. |
com.ibm.websphere.channel.framework.ChannelFactoryData | updateChannelFactoryProperty( Updates a single ChannelFactory property. |
com.ibm.websphere.channel.framework.ChannelFactoryData | getChannelFactory( Fetch an existing channel factory from the transport channel service. |
com.ibm.websphere.channel.framework.ChannelData | addChannel( creates a named channel data object and instantiates an instance of its channel factory (if one does not already exist). |
com.ibm.websphere.channel.framework.ChannelData | addChannel( Creates a named channel data objet and instantiates an instance of its channel factory (if one does not already exist). |
com.ibm.websphere.channel.framework.ChannelData | removeChannel( Remove a channel; if the channel is in use by the transport channel service, an exception will be thrown. |
com.ibm.websphere.channel.framework.ChannelData | updateChannelWeight( Update the new discrimination weight to be used when this channel is running. |
com.ibm.websphere.channel.framework.ChannelData | updateChannelProperty( Update a single property that is use by the input named channel. |
com.ibm.websphere.channel.framework.ChannelData | updateAllChannelProperties( Update the entire set of properties in use by the input named channel. |
com.ibm.websphere.channel.framework.ChannelData | getChannel( Returns a channel data object for a specific named channel. |
com.ibm.websphere.channel.framework.ChannelData[] | getAllChannels() Return the entire of set of channels that have been added via this interface's addChannel methods. |
com.ibm.websphere.channel.framework.ChannelData[] | getRunningChannels() Return the entire of set of channels that have been added via this interface's addChannel methods and are in use by the runtime. |
com.ibm.websphere.channel.framework.ChainData | addChain( Create a specific named chain and the structures to prepare this chain to be created. |
com.ibm.websphere.channel.framework.ChainData | addChain( Create a specific named chain and the structures to prepare this chain to be created. |
com.ibm.websphere.channel.framework.ChainData | removeChain( Remove a chain. |
com.ibm.websphere.channel.framework.ChainData | updateChain( Updates a chain with a new set of channels. |
com.ibm.websphere.channel.framework.ChainData | getChain( |
com.ibm.websphere.channel.framework.ChainData[] | getAllChains() |
com.ibm.websphere.channel.framework.ChainData[] | getAllChains( Fetch all chains in the transport channel service which include the given channel. |
com.ibm.websphere.channel.framework.ChainData[] | getAllChains( Fetch all chains in the transport channel service that include channels created from the given factory class. |
com.ibm.websphere.channel.framework.ChainData[] | getRunningChains() Fetch all chains in the transport channel service that have been initialized and are currently running. |
com.ibm.websphere.channel.framework.ChainData[] | getRunningChains( Fetch all chains in the transport channel service that have been initialized and are currently running which include the given channel. |
com.ibm.websphere.channel.framework.ChainData[] | getRunningChains( Fetch all chains in the transport channel service that have been initialized and are currently running which include a channel created by the given factory. |
void | startChain( |
void | stopChain( |
void | startChainsByAcceptorID( This method will start all enabled inbound chains associated with a given acceptor object. |
void | stopChainsByAcceptorID( This method will stop all running inbound chains associated with a given acceptor object. |
com.ibm.wsspi.channel.framework.CFEndPoint | getEndPoint( Fetch the CFEndPoint representation of the given inbound chain. |
com.ibm.wsspi.channel.framework.CFEndPoint[] | getEndPointsByAcceptorID( Fetch all CFEndPoint representations for the chains that match the given acceptor identifier. |
Operation Detail |
public com.ibm.websphere.channel.framework.ChannelFactoryData updateAllChannelFactoryProperties(java.lang.Class type,
java.util.Map properties
)
type
-
channel factory class for which properties are to be associatedproperties
-
common properties to be shared by all channel instances generated by an instance of factoryType
public com.ibm.websphere.channel.framework.ChannelFactoryData updateChannelFactoryProperty(java.lang.Class type,
java.lang.Object key,
java.lang.Object value
)
type
-
channel factory class for which properties are to be associatedkey
-
key of the propertyvalue
-
value of the property
public com.ibm.websphere.channel.framework.ChannelFactoryData getChannelFactory(java.lang.Class type
)
type
-
The class of the factory being queried
public com.ibm.websphere.channel.framework.ChannelData addChannel(java.lang.String name,
java.lang.Class factoryType,
java.util.Map properties,
int weight
)
name
-
factoryType
-
properties
-
weight
-
for use by discrimination in inbound chains
public com.ibm.websphere.channel.framework.ChannelData addChannel(java.lang.String name,
java.lang.Class factoryType,
java.util.Map properties
)
name
-
factoryType
-
properties
-
public com.ibm.websphere.channel.framework.ChannelData removeChannel(java.lang.String name
)
name
-
public com.ibm.websphere.channel.framework.ChannelData updateChannelWeight(java.lang.String name,
int weight
)
name
-
weight
-
public com.ibm.websphere.channel.framework.ChannelData updateChannelProperty(java.lang.String name,
java.lang.Object key,
java.lang.Object value
)
name
-
key
-
value
-
public com.ibm.websphere.channel.framework.ChannelData updateAllChannelProperties(java.lang.String name,
java.util.Map properties
)
name
-
properties
-
public com.ibm.websphere.channel.framework.ChannelData getChannel(java.lang.String name
)
name
-
public com.ibm.websphere.channel.framework.ChannelData[] getAllChannels()
public com.ibm.websphere.channel.framework.ChannelData[] getRunningChannels()
public com.ibm.websphere.channel.framework.ChainData addChain(java.lang.String name,
com.ibm.websphere.channel.framework.FlowType type,
java.lang.String[] channels
)
name
-
unique name for the new chain to be createdtype
-
channels
-
list of names representing the channels to be added to this chain
public com.ibm.websphere.channel.framework.ChainData addChain(java.lang.String name,
com.ibm.websphere.channel.framework.FlowType type,
java.lang.String[] channels,
java.lang.String acceptorID
)
name
-
unique name for the new chain to be createdtype
-
channels
-
list of names representing the channels to be added to this chainacceptorID
-
unique identifier for the runtime object which will ultimately receive requests from the chain created by this method
public com.ibm.websphere.channel.framework.ChainData removeChain(java.lang.String name
)
name
-
public com.ibm.websphere.channel.framework.ChainData updateChain(java.lang.String name,
java.lang.String[] channels
)
name
-
name of the chain to updatechannels
-
new list of named channels for the chain
public com.ibm.websphere.channel.framework.ChainData getChain(java.lang.String name
)
name
-
public com.ibm.websphere.channel.framework.ChainData[] getAllChains()
public com.ibm.websphere.channel.framework.ChainData[] getAllChains(java.lang.String channelName
)
channelName
-
return all chains that contain this named channel
public com.ibm.websphere.channel.framework.ChainData[] getAllChains(java.lang.Class factoryClass
)
factoryClass
-
return all chains that contain a channel created with this class
public com.ibm.websphere.channel.framework.ChainData[] getRunningChains()
public com.ibm.websphere.channel.framework.ChainData[] getRunningChains(java.lang.String channelName
)
channelName
-
public com.ibm.websphere.channel.framework.ChainData[] getRunningChains(java.lang.Class factoryClass
)
factoryClass
-
public void startChain(java.lang.String name
)
name
-
public void stopChain(java.lang.String name,
long delay
)
name
-
delay
-
public void startChainsByAcceptorID(java.lang.String acceptorID
)
acceptorID
-
public void stopChainsByAcceptorID(java.lang.String acceptorID,
long delay
)
acceptorID
-
delay
-
public com.ibm.wsspi.channel.framework.CFEndPoint getEndPoint(java.lang.String name
)
name
-
name of the running inbound chain for which a CFEndPoint should be generated
public com.ibm.wsspi.channel.framework.CFEndPoint[] getEndPointsByAcceptorID(java.lang.String acceptorID
)
acceptorID
-
well-known identifier for the acceptor calling this method