Oracle Application Server Wireless Java API Reference
B10400-01

oracle.wireless.billing
Interface BillingDataCollector

All Known Implementing Classes:
BillingDataCollectorImpl

public interface BillingDataCollector

Public interface to collect the component specific billing data and construct the Service detail record with appropriate extended attributes This class is initialized using singleton pattern. The implementation must have a method like public static BillingDataCollector getInstance()


Field Summary
static java.lang.String ATTRIBUTE_INVOKER
          The extended attribute name used to indicate the module which invokes the service at runtime
static java.lang.String INVOKER_TYPE_AGENT
          Invoker type: The deprecated Alert daemon
static java.lang.String INVOKER_TYPE_ALERT
          Invoker type: The Mobile Alert
static java.lang.String INVOKER_TYPE_ASYNC
          Invoker type: The Async/Ask server
static java.lang.String INVOKER_TYPE_HTTP
          Invoker type: The HTTP/Web based service
static java.lang.String INVOKER_TYPE_PROVISIONING
          Invoker type: The Provisioning service invoked as a jsp

 

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

 

Field Detail

ATTRIBUTE_INVOKER

public static final java.lang.String ATTRIBUTE_INVOKER
The extended attribute name used to indicate the module which invokes the service at runtime
See Also:
Constant Field Values

INVOKER_TYPE_HTTP

public static final java.lang.String INVOKER_TYPE_HTTP
Invoker type: The HTTP/Web based service
See Also:
Constant Field Values

INVOKER_TYPE_ASYNC

public static final java.lang.String INVOKER_TYPE_ASYNC
Invoker type: The Async/Ask server
See Also:
Constant Field Values

INVOKER_TYPE_ALERT

public static final java.lang.String INVOKER_TYPE_ALERT
Invoker type: The Mobile Alert
See Also:
Constant Field Values

INVOKER_TYPE_PROVISIONING

public static final java.lang.String INVOKER_TYPE_PROVISIONING
Invoker type: The Provisioning service invoked as a jsp
See Also:
Constant Field Values

INVOKER_TYPE_AGENT

public static final java.lang.String INVOKER_TYPE_AGENT
Invoker type: The deprecated Alert daemon
See Also:
Constant Field Values
Method Detail

createServiceDetailRecord

public ServiceDetailRecord createServiceDetailRecord(BillingContext context)
Returns the component specific billing context based on the context object
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
Returns:
BillingTransaction the current billing transaction

setCurrentTransaction

public void setCurrentTransaction(BillingTransaction transaction)
Sets the transaction for the current transaction
Parameters:
transaction - the current transaction

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.