Oracle Application Server Wireless Java API Reference
B14043-01


oracle.wireless.billing
Class BillingDataCollectorImpl

java.lang.Object
  extended byoracle.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)
Creates a new ServiceDetailRecord for the specified content
BillingTransaction getCurrentTransaction()
Returns the current billing transaction
static BillingDataCollector getInstance()
Returns the instance of BillingDataCollector
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

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

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.