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()
createServiceDetailRecord
public ServiceDetailRecord createServiceDetailRecord(BillingContext context)
- Creates a new
ServiceDetailRecord
for the specified content
-
- Specified by:
createServiceDetailRecord
in interface BillingDataCollector
-
- Parameters:
context
- specified BillingContext
- Returns:
- instance of
ServiceDetailRecord
getCurrentTransaction
public BillingTransaction getCurrentTransaction()
- Returns the current billing transaction
-
- Specified by:
getCurrentTransaction
in interface BillingDataCollector
-
- Returns:
- BillingTransaction the current billing transaction
getInstance
public static BillingDataCollector getInstance()
- Returns the instance of
BillingDataCollector
-
- Returns:
- the instance of
BillingDataCollector
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 © 2004 Oracle Corporation. All Rights Reserved.