Class ProvidedServiceImplementation


  • public class ProvidedServiceImplementation
    extends jadex.bridge.modelinfo.UnparsedExpression
    Contains information for provided service implementation: - implementation class or - creation expression or - implementation forward to other component via binding
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected RequiredServiceBinding binding
      The binding for forwarding service calls.
      protected java.util.List<jadex.bridge.modelinfo.UnparsedExpression> interceptors
      The list of interceptors.
      protected java.lang.String proxytype
      The proxy type.
      • Fields inherited from class jadex.bridge.modelinfo.UnparsedExpression

        clazz, language, name, parsed, value
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addInterceptor​(jadex.bridge.modelinfo.UnparsedExpression interceptor)
      Add an interceptor.
      RequiredServiceBinding getBinding()
      Get the binding.
      jadex.bridge.modelinfo.UnparsedExpression[] getInterceptors()
      Get the interceptors.
      java.lang.String getProxytype()
      Get the proxy type.
      void removeInterceptor​(jadex.bridge.modelinfo.UnparsedExpression interceptor)
      Remove an interceptor.
      void setBinding​(RequiredServiceBinding binding)
      Set the binding.
      void setProxytype​(java.lang.String proxytype)
      Set the proxy type.
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class jadex.bridge.modelinfo.UnparsedExpression

        getClazz, getLanguage, getName, getParsed, getValue, setClazz, setLanguage, setName, setParsedExp, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • proxytype

        protected java.lang.String proxytype
        The proxy type.
      • interceptors

        protected java.util.List<jadex.bridge.modelinfo.UnparsedExpression> interceptors
        The list of interceptors.
    • Constructor Detail

      • ProvidedServiceImplementation

        public ProvidedServiceImplementation()
        Create a new service implementation.
      • ProvidedServiceImplementation

        public ProvidedServiceImplementation​(java.lang.Class<?> implementation,
                                             java.lang.String expression,
                                             java.lang.String proxytype,
                                             RequiredServiceBinding binding,
                                             jadex.bridge.modelinfo.UnparsedExpression[] interceptors)
        Create a new service implementation.
      • ProvidedServiceImplementation

        public ProvidedServiceImplementation​(ProvidedServiceImplementation prov)
        Create a new service implementation.
    • Method Detail

      • getProxytype

        public java.lang.String getProxytype()
        Get the proxy type.
        Returns:
        The proxy type.
      • setProxytype

        public void setProxytype​(java.lang.String proxytype)
        Set the proxy type.
        Parameters:
        proxytype - The proxy type to set.
      • setBinding

        public void setBinding​(RequiredServiceBinding binding)
        Set the binding.
        Parameters:
        binding - The binding to set.
      • addInterceptor

        public void addInterceptor​(jadex.bridge.modelinfo.UnparsedExpression interceptor)
        Add an interceptor.
        Parameters:
        interceptor - The interceptor.
      • removeInterceptor

        public void removeInterceptor​(jadex.bridge.modelinfo.UnparsedExpression interceptor)
        Remove an interceptor.
        Parameters:
        interceptor - The interceptor.
      • getInterceptors

        public jadex.bridge.modelinfo.UnparsedExpression[] getInterceptors()
        Get the interceptors.
        Returns:
        All interceptors.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class jadex.bridge.modelinfo.UnparsedExpression