|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectraccoon.tibco.tibrv.message.RvFactory
public class RvFactory
The implementation above TIB/Rendezvous of the factory interface.
Field Summary |
---|
Fields inherited from interface raccoon.api.eai.message.IFactory |
---|
BUS_MESSAGE, DESC_MESSAGE, FACTORY_ACCESSOR_NAME, MESSAGE |
Constructor Summary | |
---|---|
RvFactory()
|
Method Summary | |
---|---|
boolean |
isInError()
Checks the state of this component. |
IBusMessage |
newBusMessage()
Creates a new instance of a bus message. |
IField |
newField()
Creates a new instance of field |
IMessage |
newMessage()
Creates a new instance of a message. |
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RvFactory()
Method Detail |
---|
public IMessage newMessage(java.lang.String pMessageType) throws java.lang.IllegalArgumentException
newMessage
in interface IFactory
pMessageType
- the type of message desired, one of IFactory.MESSAGE
,
IFactory.BUS_MESSAGE
, IFactory.DESC_MESSAGE
.
java.lang.IllegalArgumentException
- if the desired type of message isn't supported by this factory.public IBusMessage newBusMessage()
newBusMessage
in interface IFactory
IBusMessage
interfacepublic IMessage newMessage()
newMessage
in interface IFactory
IMessage
interfacepublic IMessage newMessage(java.lang.Object pNativeMsg) throws java.lang.IllegalArgumentException
newMessage
in interface IFactory
pNativeMsg
- the native implementation of a bus message.
java.lang.IllegalArgumentException
- if this native message isn't supported
java.lang.IllegalArgumentException
- if a proxy couldn't be created (native message corrupted for example).public IDescMessage newMessage(IBeanDescriptor pBeanDescriptor) throws RaccoonException
newMessage
in interface IFactory
pBeanDescriptor
- the bean descriptor for the message.
RaccoonException
- if the operation fails.public IDescMessage newMessage(IMessageDescriptor pMessageDescriptor) throws RaccoonException
newMessage
in interface IFactory
pMessageDescriptor
- the message descriptor to use.
RaccoonException
- if the operation fails.public IMessageDescriptor newMessageDescriptor(IBeanDescriptor pBeanDescriptor) throws RaccoonException
newMessageDescriptor
in interface IFactory
pBeanDescriptor
- the bean descriptor.
RaccoonException
- if the process fails.public IMessageDescriptor newMessageDescriptor(IBeanProperty pPropertyDescriptor) throws RaccoonException
newMessageDescriptor
in interface IFactory
pPropertyDescriptor
- the property descriptor to use
RaccoonException
- if the property descriptor is invalid.public IMessageDescriptor newMessageDescriptor(java.lang.Class pJavaBean) throws RaccoonException
newMessageDescriptor
in interface IFactory
pJavaBean
- the class for which the IMessageDescriptor
is desired.
RaccoonException
- if the process fails.public IField newField()
newField
in interface IFactory
public ITracking newTracking()
newTracking
in interface IFactory
public boolean isInError()
isInError
in interface IBaseComponent
true
if this component is in error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |