Oracle Application Server Wireless Java API Reference
B10400-01

oracle.wireless.billing
Class BillingDataCollectorImpl

java.lang.Object
  |
  +--oracle.wireless.billing.BillingDataCollectorImpl
All Implemented Interfaces:
BillingDataCollector

public class BillingDataCollectorImpl
extends java.lang.Object
implements BillingDataCollector

Reference implementation of the Public BillingDataCollector interface The extended attributes deemed relevant are set based on the component type The customer can plug in his own implementation This class is initialized using singleton pattern. The implementation must have a method like public static BillingDataCollector getInstance()


Field Summary

 

Fields inherited from interface oracle.wireless.billing.BillingDataCollector
ATTRIBUTE_INVOKER, INVOKER_TYPE_AGENT, INVOKER_TYPE_ALERT, INVOKER_TYPE_ASYNC, INVOKER_TYPE_HTTP, INVOKER_TYPE_PROVISIONING

 

Constructor Summary
BillingDataCollectorImpl()
           

 

Method Summary
 ServiceDetailRecord createServiceDetailRecord(BillingContext context)
          Returns the component specific billing context based on the context object
 BillingTransaction getCurrentTransaction()
          Returns the current billing transaction
static BillingDataCollector getInstance()
           
 void setCurrentTransaction(BillingTransaction transaction)
          Sets the transaction for the current transaction

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BillingDataCollectorImpl

public BillingDataCollectorImpl()
Method Detail

getInstance

public static BillingDataCollector getInstance()

createServiceDetailRecord

public ServiceDetailRecord createServiceDetailRecord(BillingContext context)
Description copied from interface: BillingDataCollector
Returns the component specific billing context based on the context object
Specified by:
createServiceDetailRecord in interface BillingDataCollector
Parameters:
context - the component specific billing context object
Returns:
ServiceDetailRecord with all the appropriate extended attributes set

getCurrentTransaction

public BillingTransaction getCurrentTransaction()
Returns the current billing transaction
Specified by:
getCurrentTransaction in interface BillingDataCollector
Returns:
BillingTransaction the current billing transaction

setCurrentTransaction

public void setCurrentTransaction(BillingTransaction transaction)
Sets the transaction for the current transaction
Specified by:
setCurrentTransaction in interface BillingDataCollector
Parameters:
transaction - the current transaction

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.