|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFactory
The factory service for creating new instances of EAI elements.
| Field Summary | |
|---|---|
static java.lang.String |
BUS_MESSAGE
The string indicating the use of a IBusMessage instance. |
static java.lang.String |
DESC_MESSAGE
The string indicating the use of a IDescMessage instance. |
static java.lang.String |
FACTORY_ACCESSOR_NAME
The usual bean property used for defining the factory. |
static java.lang.String |
MESSAGE
The string indicating the use of a IMessage instance. |
| Method Summary | |
|---|---|
IBusMessage |
newBusMessage()
Creates a new instance of a bus message. |
IField |
newField()
Creates a new instance of field. |
IMessage |
newMessage()
Generates a new IMessage instance. |
IDescMessage |
newMessage(IBeanDescriptor pBeanDescriptor)
Creates a new instance of a message for a specified Java class. |
IDescMessage |
newMessage(IMessageDescriptor pMessageDescriptor)
Creates a new instance of a message based upon a specified message descriptor. |
IMessage |
newMessage(java.lang.Object pNativeMsg)
Creates a proxy object for the given native message. |
IMessage |
newMessage(java.lang.String pMessageType)
Creates a new message instance depending on the desired implementation. |
IMessageDescriptor |
newMessageDescriptor(java.lang.Class pJavaBean)
Given the class of a java bean creates a new message definition instance. |
IMessageDescriptor |
newMessageDescriptor(IBeanDescriptor pBeanDescriptor)
Given a bean descriptor creates a new message definition instance. |
IMessageDescriptor |
newMessageDescriptor(IBeanProperty pPropertyDescriptor)
Creates a new message descriptor for the provided property of a java bean. |
ITracking |
newTracking()
Creates a new instance of a tracking element. |
| Methods inherited from interface raccoon.api.types.IBaseComponent |
|---|
isInError |
| Field Detail |
|---|
static final java.lang.String FACTORY_ACCESSOR_NAME
static final java.lang.String BUS_MESSAGE
IBusMessage instance.
static final java.lang.String MESSAGE
IMessage instance.
static final java.lang.String DESC_MESSAGE
IDescMessage instance.
| Method Detail |
|---|
IMessage newMessage(java.lang.String pMessageType)
throws java.lang.IllegalArgumentException
pMessageType - the type of message desired, one of MESSAGE,
BUS_MESSAGE, DESC_MESSAGE.
java.lang.IllegalArgumentException - if the desired type of message isn't supported by this factory.IBusMessage newBusMessage()
IMessage newMessage()
IMessage instance.
IField newField()
ITracking newTracking()
IMessage newMessage(java.lang.Object pNativeMsg)
throws java.lang.IllegalArgumentException
pNativeMsg - the native implementation of a bus message.
java.lang.IllegalArgumentException - if this native isn't supported
java.lang.IllegalArgumentException - if a proxy couldn't be created (native message corrupted for example).
IDescMessage newMessage(IBeanDescriptor pBeanDescriptor)
throws RaccoonException
pBeanDescriptor - the bean descriptor for the message.
RaccoonException - if the operation fails.
IDescMessage newMessage(IMessageDescriptor pMessageDescriptor)
throws RaccoonException
pMessageDescriptor - the message descriptor to use.
RaccoonException - if the operation fails.
IMessageDescriptor newMessageDescriptor(java.lang.Class pJavaBean)
throws RaccoonException
pJavaBean - the class for which the IMessageDescriptor is desired.
RaccoonException - if the process fails.
IMessageDescriptor newMessageDescriptor(IBeanDescriptor pBeanDescriptor)
throws RaccoonException
pBeanDescriptor - the bean descriptor.
RaccoonException - if the process fails.
IMessageDescriptor newMessageDescriptor(IBeanProperty pPropertyDescriptor)
throws RaccoonException
pPropertyDescriptor - the property descriptor to use
RaccoonException - if the property descriptor is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||