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()
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BillingDataCollectorImpl
public BillingDataCollectorImpl()
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
Copyright © 2003 Oracle Corporation. All Rights Reserved.