public interface OrderFactory extends KeyResolver, XMLizable
Order
is an external
entity that promotion depends upon. An implementation of this interface is
responsible for looking up and instantiating the Order external
entity. The implementation must be registered with the
ExternalEntityFactoryRegistry
.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
Order |
getOrder(OrderKey key)
This method returns the Order object having this OrderKey.
|
lookup, reverseLookup
static final java.lang.String COPYRIGHT
Order getOrder(OrderKey key) throws DependencyInstantiationException, DependencyMissingException
key
- OrderKey
Order
object corresponding to the order key.DependencyInstantiationException
- is thrown when an error is encountered on order instantiation.DependencyMissingException
- is thrown when the order to get does not exist.