Class PxpWrapper

  • All Implemented Interfaces:
    de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent, de.fraunhofer.iese.mydata.component.interfaces.IPolicyExecutionPoint

    public class PxpWrapper
    extends Object
    implements de.fraunhofer.iese.mydata.component.interfaces.IPolicyExecutionPoint
    See Also:
    MyDataComponentWrapper
    • Field Detail

      • alreadyRightTypedReference

        protected final T extends de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent alreadyRightTypedReference
    • Constructor Detail

      • PxpWrapper

        public PxpWrapper​(de.fraunhofer.iese.mydata.component.ComponentId componentId,
                          Object instanceToWrap)
                   throws de.fraunhofer.iese.mydata.exception.InvalidEntityException
        Throws:
        de.fraunhofer.iese.mydata.exception.InvalidEntityException
    • Method Detail

      • execute

        public boolean execute​(de.fraunhofer.iese.mydata.policy.decision.ExecuteAction action)
                        throws IOException
        Specified by:
        execute in interface de.fraunhofer.iese.mydata.component.interfaces.IPolicyExecutionPoint
        Throws:
        IOException
      • getMethodInterfaceDescriptions

        public List<de.fraunhofer.iese.mydata.component.information.method.MethodInterfaceDescription> getMethodInterfaceDescriptions()
        Retrieve the automatically discovered MethodInterfaceDescriptions
        Returns:
        The automatically discovered MethodInterfaceDescriptions
      • callServiceMethod

        protected Object callServiceMethod​(String methodName,
                                           de.fraunhofer.iese.mydata.policy.parameter.ParameterList parameters)
                                    throws de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
        Throws:
        de.fraunhofer.iese.mydata.policy.exception.InformationUndeterminableException
      • getHealth

        public de.fraunhofer.iese.mydata.component.health.HealthStatus getHealth()
                                                                          throws IOException
        Specified by:
        getHealth in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
        Throws:
        IOException
      • getId

        public de.fraunhofer.iese.mydata.component.ComponentId getId()
                                                              throws IOException
        Specified by:
        getId in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
        Throws:
        IOException
      • reset

        public boolean reset()
                      throws IOException,
                             de.fraunhofer.iese.mydata.exception.NoSuchEntityException
        Specified by:
        reset in interface de.fraunhofer.iese.mydata.component.interfaces.IMyDataComponent
        Throws:
        IOException
        de.fraunhofer.iese.mydata.exception.NoSuchEntityException