|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Billing Driver which interfaces with the external billing system The driver is component specific. This driver is created using the default constructor followed by the call to the init method
Method Summary | |
BillingResult |
cancelService(ServiceDetailRecord sdr) Notify the external billing system of cancellation for this service usage |
void |
destroy() Does the cleanup of the driver when called. |
void |
init(java.util.Properties initProperties) Will be called by the billing driver handler once for each billing driver to do the driver initilization proceses like connection info. |
BillingResult |
postService(ServiceDetailRecord sdr) the operation to interact with the external billing system |
BillingResult |
preService(ServiceDetailRecord sdr) authorize this service usage with the external billing system |
Method Detail |
public BillingResult cancelService(ServiceDetailRecord sdr) throws BillingException
sdr
- The service detail recordBillingException
- Exception generated in case of errorpublic void destroy() throws BillingException
BillingException
- thrown when cleanup failedpublic void init(java.util.Properties initProperties) throws BillingException
initProperties
- initialization propertiesBillingException
- thrown if initialization failedpublic BillingResult postService(ServiceDetailRecord sdr) throws BillingException
sdr
- The service detail recordBillingException
- Exception generated in case of errorpublic BillingResult preService(ServiceDetailRecord sdr) throws BillingException
sdr
- The service detail recordBillingException
- Exception generated in case of error
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |