oranjestad.commons.beanutils.messaging
Class GenericMessageDispatchingOptions

java.lang.Object
  extended by oranjestad.commons.beanutils.messaging.GenericMessageDispatchingOptions
All Implemented Interfaces:
java.io.Serializable

public class GenericMessageDispatchingOptions
extends java.lang.Object
implements java.io.Serializable

Options that apply to how messages are dispatched. These options only apply if the registered listener is a proxy and not an actual instance of the expected interface.

Usage

This class can be passed into the various BeanMessagingIntrospector.addListener(...) methods.

The current options are as follows:

  1. An array of message transformers. Including any transformers will cause a Proxy to be created.
  2. failSilent Flag. This flag only applies if a Proxy is registered and determines if any reflection style errors occur whether those errors should be propogated or silently swallowed.

Since:
1.3
Author:
Bryant Harris
See Also:
Serialized Form

Field Summary
 boolean failSilent
           
 
Constructor Summary
GenericMessageDispatchingOptions()
          Constructs options with default values.
GenericMessageDispatchingOptions(boolean theFailSilent)
          Constructor for fulling specifying all options.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

failSilent

public boolean failSilent
Constructor Detail

GenericMessageDispatchingOptions

public GenericMessageDispatchingOptions()
Constructs options with default values.

Since:
1.3

GenericMessageDispatchingOptions

public GenericMessageDispatchingOptions(boolean theFailSilent)
Constructor for fulling specifying all options.

Parameters:
theFailSilent - The fail silent flag.
Since:
1.3


Copyright © 2008. All Rights Reserved.