Package com.ibm.wsspi.usage.metering
Interface RegistrationListener
-
public interface RegistrationListener
Provides a mechanism for products to notify the usageMetering feature that product extension data has been updated.An instance of
RegistrationListener
will be provided to a registeredProductExtension
prior to the first access of product extension data. SeeProductExtension.setRegistrationListener(com.ibm.wsspi.usage.metering.RegistrationListener)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MeteringContext
getMeteringContext()
Provides access to the context information used by the usageMetering feature when performing product registration and usage reporting to the metering service, which may be useful toProductExtension
implementations.void
updateRegistration()
Notifies the usageMetering feature registration listener that product specific extension data (other than usage) has changed and registration information should be resubmitted.
-
-
-
Method Detail
-
getMeteringContext
MeteringContext getMeteringContext()
Provides access to the context information used by the usageMetering feature when performing product registration and usage reporting to the metering service, which may be useful toProductExtension
implementations.- Returns:
- the metering context data.
-
updateRegistration
void updateRegistration()
Notifies the usageMetering feature registration listener that product specific extension data (other than usage) has changed and registration information should be resubmitted.
-
-