Class ServiceInfo


  • public class ServiceInfo
    extends java.lang.Object
    Service info. Provides also method names because otherwise JS side would have to inspect Java interfaces.
    • Field Detail

      • methodnames

        protected java.util.Set<java.lang.String> methodnames
        The method names.
    • Constructor Detail

      • ServiceInfo

        public ServiceInfo()
        Create the service proxy.
      • ServiceInfo

        public ServiceInfo​(IServiceIdentifier sid,
                           java.util.Set<java.lang.String> methodnames)
        Create the service proxy.
        Parameters:
        sid - The service identifier.
        methodnames - The method names.
    • Method Detail

      • getMethodNames

        public java.util.Set<java.lang.String> getMethodNames()
        Get the methodNames.
        Returns:
        The methodNames
      • setMethodNames

        public void setMethodNames​(java.util.Set<java.lang.String> methodnames)
        Set the methodNames.
        Parameters:
        methodnames - The methodNames to set
      • getServiceIdentifier

        public IServiceIdentifier getServiceIdentifier()
        Get the serviceIdentifier.
        Returns:
        The serviceIdentifier
      • setServiceIdentifier

        public void setServiceIdentifier​(IServiceIdentifier sid)
        Set the serviceIdentifier.
        Parameters:
        sid - The serviceIdentifier to set
      • getServiceIdentifierString

        public java.lang.String getServiceIdentifierString()
        Get the serviceIdentifier.
        Returns:
        The serviceIdentifier
      • setServiceIdentifierString

        public void setServiceIdentifierString​(java.lang.String sid)
        Set the serviceIdentifier.
        Parameters:
        sid - The serviceIdentifier to set