|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.MessageSenderFactory
public abstract class MessageSenderFactory
Defines a factory API that enables client applications using HighDeal Communication Infrastructure to obtain a message sender.
| Field Summary | |
|---|---|
protected XMLMapping |
xmlMapping
Mapping used by message senders created through this factory. |
| Constructor Summary | |
|---|---|
MessageSenderFactory()
|
|
| Method Summary | |
|---|---|
abstract MessageSender |
createAdminMessageSender()
Creates a new admin message sender |
abstract MessageSender |
createMessageSender()
Creates a new message sender. |
abstract void |
init(java.util.Properties prop)
Initializes a message sender factory from a set of properties. |
static MessageSenderFactory |
newInstance(java.util.Properties props)
Creates a new instance of MessageSenderFactory using a set of properties. |
void |
setXMLMapping(XMLMapping mapping)
Sets the XML mapping for the senders created through this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected XMLMapping xmlMapping
| Constructor Detail |
|---|
public MessageSenderFactory()
| Method Detail |
|---|
public abstract void init(java.util.Properties prop)
throws BadConfigurationException
prop - the set of properties used to initialize this factory.
BadConfigurationException - if properties are not corrects.public abstract MessageSender createAdminMessageSender()
public abstract MessageSender createMessageSender()
public void setXMLMapping(XMLMapping mapping)
mapping - XML mapping for the senders created through this
factory.
public static MessageSenderFactory newInstance(java.util.Properties props)
throws BadConfigurationException
hci.sender_factory which must be the name of
a subclass of MessageSenderFactory.
Available message sender are :
com.highdeal.hci.http.HttpMessageSenderFactory
It can also contain
hci.xml_mapping which must be the name of
an implementation of XMLMapping.
Available mapping classes are :
- com.highdeal.pnr.hci.PnRXMLMapping
- com.highdeal.bnr.hci.BnRXMLMapping
- com.highdeal.components.generic.model.GenericComponentsXMLMapping
- com.highdeal.components.advanced.model.AdvancedComponentsXMLMapping
The set of properties is also passed to the init
method of the created MessageSenderFactory.
props - a set of properties.
BadConfigurationException - if the set of properties contains
bad configuration settings.
|
SAP CC 1.0
API 4.2 (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2
(c) Copyright 2009 SAP AG. All rights reserved.