oranjestad.commons.beanutils.messaging
Interface ProducerInfo

All Known Implementing Classes:
BasicProducerInfo

public interface ProducerInfo

Interface that conceptually extends BeanInfo with information on the messaging channels that a bean can send messages on.

Channels are identified by methods that match the following signature


 public void addChannelName(ListenerInterface);
 public void/boolean removeChannelName)(ListenerInterface);
 

Since:
1.3
Author:
Bryant Harris

Method Summary
 Channel getChannel(java.lang.String channelName)
          Finds a specific channel by name.
 Channel[] getChannels()
          Returns the channels associated with this bean.
 

Method Detail

getChannels

Channel[] getChannels()
Returns the channels associated with this bean.

Returns:
An array of channels.
Since:
1.3

getChannel

Channel getChannel(java.lang.String channelName)
Finds a specific channel by name.

Parameters:
channelName - The channel name.
Returns:
The channel or null if the channel cannot be found.
Since:
1.3


Copyright © 2008. All Rights Reserved.