Class ProvidedServiceImplementation


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

      • proxytype

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

        protected java.util.List<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,
                                             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​(UnparsedExpression interceptor)
        Add an interceptor.
        Parameters:
        interceptor - The interceptor.
      • removeInterceptor

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

        public UnparsedExpression[] getInterceptors()
        Get the interceptors.
        Returns:
        All interceptors.