com.apama.pa.pmml
Event ServiceHandler


Service Handler Interface

Returned when an service is successfully initialised
Member summary
 action<> returns stringgetServiceName

Get the name of the current service
 action<> returns stringgetInstanceName

Get the unique name of the instance as provided to the Service Handler Factory
 action<> returns com.apama.pa.pmml.ModelgetDefaultModel

Get the default model as provided by the Service Params, if no model is configured using ServiceParam then empty model will be provided
 action<string> returns booleanhasModel

Check if a model is available in the given PMML file
 action<string> returns com.apama.pa.pmml.ModelgetModel

Get a model based on name, the default model is returned if it is configured by the Service Params. Else an empty model is returned
 action<> returns sequence<com.apama.pa.pmml.Model>getAllModels

Get all models present in the given PMML file
 action<> returns com.apama.pa.pmml.ModelManagergetModelManager

Get model manager to add/update/remove PMML models
 action<> returns com.apama.pa.pmml.ResourceManagergetResourceManager

Get resource manager to add/remove/list resources
 
Member detail

getAllModels

action<> returns sequence<com.apama.pa.pmml.ModelgetAllModels
Get all models present in the given PMML file

getDefaultModel

action<> returns com.apama.pa.pmml.Model getDefaultModel
Get the default model as provided by the Service Params, if no model is configured using ServiceParam then empty model will be provided

getInstanceName

action<> returns string getInstanceName
Get the unique name of the instance as provided to the Service Handler Factory

getModel

action<string> returns com.apama.pa.pmml.Model getModel
Get a model based on name, the default model is returned if it is configured by the Service Params. Else an empty model is returned

getModelManager

action<> returns com.apama.pa.pmml.ModelManager getModelManager
Get model manager to add/update/remove PMML models

getResourceManager

action<> returns com.apama.pa.pmml.ResourceManager getResourceManager
Get resource manager to add/remove/list resources

getServiceName

action<> returns string getServiceName
Get the name of the current service

hasModel

action<string> returns boolean hasModel
Check if a model is available in the given PMML file