Class RequiredServiceBinding


  • public class RequiredServiceBinding
    extends java.lang.Object
    Required service binding information.
    • Field Detail

      • name

        protected java.lang.String name
        The service name.
      • componentname

        protected java.lang.String componentname
        The component name used for searching.
      • componenttype

        protected java.lang.String componenttype
        The component type, i.e. the model name used for searching.
      • interceptors

        protected java.util.List<UnparsedExpression> interceptors
        The interceptors.
      • proxytype

        protected java.lang.String proxytype
        The proxytype.
    • Constructor Detail

      • RequiredServiceBinding

        public RequiredServiceBinding()
        Create a new binding.
      • RequiredServiceBinding

        public RequiredServiceBinding​(java.lang.String name,
                                      ServiceScope scope)
        Create a new binding.
      • RequiredServiceBinding

        public RequiredServiceBinding​(java.lang.String name,
                                      java.lang.String componentname,
                                      java.lang.String componenttype,
                                      ServiceScope scope,
                                      UnparsedExpression[] interceptors,
                                      java.lang.String proxytype)
        Create a new binding.
      • RequiredServiceBinding

        public RequiredServiceBinding​(RequiredServiceBinding orig)
        Create a new binding.
    • Method Detail

      • getCreationInfo

        public ComponentInstanceInfo getCreationInfo()
        Get the creationinfo.
        Returns:
        The creationinfo.
      • setCreationInfo

        public void setCreationInfo​(ComponentInstanceInfo creationinfo)
        Set the creationinfo.
        Parameters:
        creationinfo - The creationinfo to set.
      • getName

        public java.lang.String getName()
        Get the name.
        Returns:
        the name.
      • setName

        public void setName​(java.lang.String name)
        Set the name.
        Parameters:
        name - The name to set.
      • getComponentName

        public java.lang.String getComponentName()
        Get the componentname.
        Returns:
        the componentname.
      • setComponentName

        public void setComponentName​(java.lang.String componentname)
        Set the componentname.
        Parameters:
        componentname - The componentname to set.
      • getComponentType

        public java.lang.String getComponentType()
        Get the componenttype.
        Returns:
        the componenttype.
      • setComponentType

        public void setComponentType​(java.lang.String componenttype)
        Set the componenttype.
        Parameters:
        componenttype - The componenttype to set.
      • getScope

        public ServiceScope getScope()
        Get the scope.
        Returns:
        the scope.
      • setScope

        public void setScope​(ServiceScope scope)
        Set the scope.
        Parameters:
        scope - The scope 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.
      • getProxytype

        public java.lang.String getProxytype()
        Get the proxytype.
        Returns:
        the proxytype.
      • setProxytype

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

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object