Package org.apache.uima.resource
Interface MessagingSpecifier
- All Superinterfaces:
Cloneable
,MetaDataObject
,ResourceServiceSpecifier
,ResourceSpecifier
,Serializable
,XMLizable
- All Known Subinterfaces:
JMSMessagingSpecifier
,MailMessagingSpecifier
,MQMessagingSpecifier
-
Method Summary
Modifier and TypeMethodDescriptionReturns the hostAddress.Returns the hostMessagingServer.Returns the hostPassword.Returns the hostUser.Returns the messagingType.Returns the targetAddress.Returns the targetMessagingServer.Returns the targetPassword.Returns the targetUser.Gets the timeout period in milliseconds.void
setHostAddress
(String hostAddress) Sets the hostAddress.void
setHostMessagingServer
(String hostMessagingServer) Sets the hostMessagingServer.void
setHostPassword
(String hostPassword) Sets the hostPassword.void
setHostUser
(String hostUser) Sets the hostUser.void
setMessagingType
(String messagingType) Sets the messagingType.void
setTargetAddress
(String targetAddress) Sets the targetAddress.void
setTargetMessagingServer
(String targetMessagingServer) Sets the targetMessagingServer.void
setTargetPassword
(String targetPassword) Sets the targetPassword.void
setTargetUser
(String targetUser) Sets the targetUser.void
setTimeout
(Integer aTimeout) Sets the timeout period in milliseconds.Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
Method Details
-
getHostAddress
String getHostAddress()Returns the hostAddress.- Returns:
- String
-
getHostMessagingServer
String getHostMessagingServer()Returns the hostMessagingServer.- Returns:
- String
-
getHostPassword
String getHostPassword()Returns the hostPassword.- Returns:
- String
-
getHostUser
String getHostUser()Returns the hostUser.- Returns:
- String
-
getMessagingType
String getMessagingType()Returns the messagingType.- Returns:
- String
-
getTargetAddress
String getTargetAddress()Returns the targetAddress.- Returns:
- String
-
getTargetMessagingServer
String getTargetMessagingServer()Returns the targetMessagingServer.- Returns:
- String
-
getTargetPassword
String getTargetPassword()Returns the targetPassword.- Returns:
- String
-
getTargetUser
String getTargetUser()Returns the targetUser.- Returns:
- String
-
setHostAddress
Sets the hostAddress.- Parameters:
hostAddress
- The hostAddress to set
-
setHostMessagingServer
Sets the hostMessagingServer.- Parameters:
hostMessagingServer
- The hostMessagingServer to set
-
setHostPassword
Sets the hostPassword.- Parameters:
hostPassword
- The hostPassword to set
-
setHostUser
Sets the hostUser.- Parameters:
hostUser
- The hostUser to set
-
setMessagingType
Sets the messagingType.- Parameters:
messagingType
- The messagingType to set
-
setTargetAddress
Sets the targetAddress.- Parameters:
targetAddress
- The targetAddress to set
-
setTargetMessagingServer
Sets the targetMessagingServer.- Parameters:
targetMessagingServer
- The targetMessagingServer to set
-
setTargetPassword
Sets the targetPassword.- Parameters:
targetPassword
- The targetPassword to set
-
setTargetUser
Sets the targetUser.- Parameters:
targetUser
- The targetUser to set
-
getTimeout
Integer getTimeout()Gets the timeout period in milliseconds. If a call takes longer than this amount of time, an exception will be thrown.- Returns:
- the timeout period in milliseconds. A null value indicates that the transport layer's default value will be used.
-
setTimeout
Sets the timeout period in milliseconds. If a call takes longer than this amount of time, an exception will be thrown.- Parameters:
aTimeout
- the timeout period in milliseconds. A null value indicates that the transport layer's default value will be used.
-