|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.dragon.service.wsdm.QoSMetricManagerImpl
public class QoSMetricManagerImpl
| Constructor Summary | |
|---|---|
QoSMetricManagerImpl()
|
|
| Method Summary | |
|---|---|
java.util.List<QoSMetricTO> |
getAllQoSMetrics()
Allow to recover all QoSMetrics stored in database |
BindingDAO |
getBindingDAO()
|
BindingOperationDAO |
getBindingOperationDAO()
|
java.util.Map<java.lang.String,java.lang.String> |
getCurrentMessage(java.lang.String address)
|
EndpointDAO |
getEndpointDAO()
|
QoSMetricTO |
getQoSMetric(java.lang.String bindingOperationId)
Allow to get a specific QoSMetricTO by providing the binding operation identifier |
QoSMetricDAO |
getQoSMetricDAO()
|
QoSMetricTO |
getQoSMetricForBinding(java.lang.String bindingId)
Allow to calculate QoSMetric for a given binding |
QoSMetricTO |
getQoSMetricForEndpoint(java.lang.String endpointId)
Allow to calculate QoSMetric for a given endpoint |
QoSMetricTO |
getQoSMetricForTechnicalService(java.lang.String techServiceId)
Allow to calculate QoSMetric for a given technical service |
GenericUnifiedDAO<TechnicalService,java.lang.String> |
getTechnicalServiceUnifiedDAO()
|
TransfertObjectAssembler |
getTransfertObjectAssembler()
|
void |
removeQoSMetric(java.lang.String qoSMetricId)
Allow to remove a QoSMetric by providing the linked binding operation identifier |
void |
saveQoSMetric(QoSMetricTO qoSMetricTO)
Allow to save in database new QoSMetric object, by providing a QoSMetricTO |
void |
setBindingDAO(BindingDAO bindingDAO)
|
void |
setBindingOperationDAO(BindingOperationDAO bindingOperationDAO)
|
void |
setEndpointDAO(EndpointDAO endpointDAO)
|
void |
setQoSMetricDAO(QoSMetricDAO qoSMetricDAO)
|
void |
setTechnicalServiceUnifiedDAO(GenericUnifiedDAO<TechnicalService,java.lang.String> technicalServiceUnifiedDAO)
|
void |
setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
|
EndpointTO |
subscribe(java.lang.String endpointId,
java.lang.String responseAddress)
Allow to subscribe to a non function endpoint in order to receive several notifications |
EndpointTO |
unSubscribe(java.lang.String endpointId,
java.lang.String responseAddress)
Allow to unsubscribe to a non function endpoint in order to stop notification shipments |
void |
updateQoSMetric(QoSMetricTO qoSMetricTO)
Allow to update a QoSMetricBO by providing a QoSMetricTO |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QoSMetricManagerImpl()
| Method Detail |
|---|
public void saveQoSMetric(QoSMetricTO qoSMetricTO)
throws DeploymentException
saveQoSMetric in interface QoSMetricManagerqoSMetricTO -
DeploymentException
public void removeQoSMetric(java.lang.String qoSMetricId)
throws DeploymentException
removeQoSMetric in interface QoSMetricManagerString - bindingOperationId
DeploymentException
public QoSMetricTO getQoSMetric(java.lang.String bindingOperationId)
throws DeploymentException
getQoSMetric in interface QoSMetricManagerString - bindingOperationId
DeploymentException
public java.util.List<QoSMetricTO> getAllQoSMetrics()
throws DeploymentException
getAllQoSMetrics in interface QoSMetricManagerDeploymentException
public void updateQoSMetric(QoSMetricTO qoSMetricTO)
throws DeploymentException
updateQoSMetric in interface QoSMetricManagerQoSMetricTO - qoSMetricTO
DeploymentException
public QoSMetricTO getQoSMetricForEndpoint(java.lang.String endpointId)
throws DeploymentException
getQoSMetricForEndpoint in interface QoSMetricManagerEndpointTO - endpointTO
DeploymentException
public QoSMetricTO getQoSMetricForTechnicalService(java.lang.String techServiceId)
throws DeploymentException
getQoSMetricForTechnicalService in interface QoSMetricManagertechServiceTO -
DeploymentException
public QoSMetricTO getQoSMetricForBinding(java.lang.String bindingId)
throws DeploymentException
getQoSMetricForBinding in interface QoSMetricManagerString - bindingId
DeploymentExceptionpublic QoSMetricDAO getQoSMetricDAO()
public void setQoSMetricDAO(QoSMetricDAO qoSMetricDAO)
public BindingOperationDAO getBindingOperationDAO()
public void setBindingOperationDAO(BindingOperationDAO bindingOperationDAO)
public TransfertObjectAssembler getTransfertObjectAssembler()
public void setTransfertObjectAssembler(TransfertObjectAssembler transfertObjectAssembler)
public java.util.Map<java.lang.String,java.lang.String> getCurrentMessage(java.lang.String address)
throws QoSMetricServiceException
getCurrentMessage in interface QoSMetricManagerQoSMetricServiceException
public EndpointTO subscribe(java.lang.String endpointId,
java.lang.String responseAddress)
throws QoSMetricServiceException
subscribe in interface QoSMetricManagerString - endpointIdString - responseAddress
QoSMetricServiceException
public EndpointTO unSubscribe(java.lang.String endpointId,
java.lang.String responseAddress)
throws QoSMetricServiceException
unSubscribe in interface QoSMetricManagerString - endpointIdString - responseAddress
QoSMetricServiceExceptionpublic EndpointDAO getEndpointDAO()
public void setEndpointDAO(EndpointDAO endpointDAO)
public BindingDAO getBindingDAO()
public void setBindingDAO(BindingDAO bindingDAO)
public GenericUnifiedDAO<TechnicalService,java.lang.String> getTechnicalServiceUnifiedDAO()
public void setTechnicalServiceUnifiedDAO(GenericUnifiedDAO<TechnicalService,java.lang.String> technicalServiceUnifiedDAO)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||