oranjestad.spring.beanutils.messaging.dispatching
Class BeanFactoryAwareGenericMessage
java.lang.Object
oranjestad.commons.beanutils.messaging.GenericMessage
oranjestad.spring.beanutils.messaging.dispatching.BeanFactoryAwareGenericMessage
- All Implemented Interfaces:
- java.io.Serializable
public class BeanFactoryAwareGenericMessage
- extends oranjestad.commons.beanutils.messaging.GenericMessage
Extension to a generic message that includes a beanFactory
property. This is specifically designed to work with Jakarta bean utils
nested properties.
In the same way that you can refer to arguments in the message
(arguments[n]) you can also refer to beans in the bean
factory (using nested properties map syntax beanFactor(beanName).
- Since:
- 1.1
- Author:
- Bryant Harris.
- See Also:
- Serialized Form
|
Method Summary |
java.util.Map |
getBeanFactory()
Getter for beanFactory property. |
void |
setBeanFactory(java.util.Map bf)
Sets the bean factory map. |
| Methods inherited from class oranjestad.commons.beanutils.messaging.GenericMessage |
equals, getArguments, getChannel, getMethod, getOriginalArguments, getOriginalChannel, getOriginalMethod, hashCode, setArguments, setChannel, setMethod, setOriginalChannel, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BeanFactoryAwareGenericMessage
public BeanFactoryAwareGenericMessage(oranjestad.commons.beanutils.messaging.GenericMessage genericMessage,
java.util.Map bf)
- Parameters:
genericMessage - The generic message to copy the contents of.bf - The bean factory to associate with this message.- Since:
- 1.1
getBeanFactory
public java.util.Map getBeanFactory()
- Getter for
beanFactory property.
- Returns:
- A map representation of the map.
- Since:
- 1.1
setBeanFactory
public void setBeanFactory(java.util.Map bf)
- Sets the bean factory map.
- Parameters:
bf - The map bean factory.- Since:
- 1.1
Copyright © 2008. All Rights Reserved.