Class ProvidedServiceImplementation

java.lang.Object
jadex.common.UnparsedExpression
jadex.providedservice.impl.service.ProvidedServiceImplementation

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

    • proxytype

      protected String proxytype
      The proxy type.
    • interceptors

      protected List<jadex.common.UnparsedExpression> interceptors
      The list of interceptors.
  • Constructor Details

    • ProvidedServiceImplementation

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

      public ProvidedServiceImplementation(Class<?> implementation, String expression, String proxytype, jadex.common.UnparsedExpression[] interceptors)
      Create a new service implementation.
    • ProvidedServiceImplementation

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

    • getProxytype

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

      public void setProxytype(String proxytype)
      Set the proxy type.
      Parameters:
      proxytype - The proxy type to set.
    • addInterceptor

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

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

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

      public String toString()
      Get the string representation.
      Overrides:
      toString in class jadex.common.UnparsedExpression