Interface SubscriptionRequestFactory
- All Known Implementing Classes:
PermissionedSubscriptionRequestFactory
public interface SubscriptionRequestFactory
An interface that is used to create
SubscriptionRequest objects.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncom.caplin.ret.trapi.rates.SubscriptionRequestcreateFxRatesSubscriptionRequest(com.caplin.motif.fx.ret.pricing.subject.FXSubjectInfoImpl subjectInfo) You should use this method to return a newSubscriptionRequestobject for FX rates.com.caplin.ret.trapi.rates.SubscriptionRequestcreateMetalRatesSubscriptionRequest(com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl subjectInfo) You should use this method to return a newSubscriptionRequestobject for Commodities rates.voidThis notifies theSubscriptionRequestFactorythat it is about to be loaded.
-
Method Details
-
initialise
This notifies the
SubscriptionRequestFactorythat it is about to be loaded. This method will be called by the system once.You should use this method to perform any initialisation required before the
SubscriptionRequestFactoryis loaded by the system. -
createFxRatesSubscriptionRequest
com.caplin.ret.trapi.rates.SubscriptionRequest createFxRatesSubscriptionRequest(com.caplin.motif.fx.ret.pricing.subject.FXSubjectInfoImpl subjectInfo) throws SubscriptionRequestException You should use this method to return a new
SubscriptionRequestobject for FX rates.- Returns:
- a new
SubscriptionRequest - Throws:
SubscriptionRequestException
-
createMetalRatesSubscriptionRequest
com.caplin.ret.trapi.rates.SubscriptionRequest createMetalRatesSubscriptionRequest(com.caplin.motif.fx.ret.pricing.subject.MetalSubjectInfoImpl subjectInfo) throws SubscriptionRequestException You should use this method to return a newSubscriptionRequestobject for Commodities rates.- Returns:
- a new
SubscriptionRequest - Throws:
SubscriptionRequestException
-