Class AbstractEndpoint

    • Field Detail

      • description

        protected pl.edu.icm.unity.types.endpoint.ResolvedEndpoint description
      • properties

        protected java.util.Properties properties
    • Constructor Detail

      • AbstractEndpoint

        public AbstractEndpoint()
    • Method Detail

      • initialize

        public void initialize​(pl.edu.icm.unity.types.endpoint.ResolvedEndpoint description,
                               java.util.List<AuthenticationFlow> authenticators,
                               java.lang.String serializedConfiguration)
        Specified by:
        initialize in interface EndpointInstance
        Parameters:
        description - most of the endpoint's settings
        authenticators - authenticator instances for the endpoint.
        serializedConfiguration - endpoint specific configuration (as returned by EndpointInstance.getSerializedConfiguration().
      • getSerializedConfiguration

        public java.lang.String getSerializedConfiguration()
        Specified by:
        getSerializedConfiguration in interface EndpointInstance
        Returns:
        serialized representation of the endpoint configuration/state
      • setSerializedConfiguration

        protected abstract void setSerializedConfiguration​(java.lang.String serializedState)
      • destroy

        public void destroy()
                     throws pl.edu.icm.unity.exceptions.EngineException
        Description copied from interface: EndpointInstance
        Stops the endpoint.
        Specified by:
        destroy in interface EndpointInstance
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • setAuthenticators

        protected void setAuthenticators​(java.util.List<AuthenticationFlow> authenticationFlows)