Class EndpointImpl

  • All Implemented Interfaces:
    GovernanceArtifact, Endpoint

    public class EndpointImpl
    extends GovernanceArtifactImpl
    implements Endpoint
    This represents an endpoint artifact stored on the Registry. Endpoint artifacts are created as a result of importing or uploading a WSDL, or when a service is created..
    • Constructor Detail

      • EndpointImpl

        public EndpointImpl​(String id,
                            org.wso2.carbon.registry.core.Registry registry)
                     throws GovernanceException
        Constructor accepting resource path, identifier and a registry instance. This constructor should be used only when the endpoint already saved in the registry.
        Parameters:
        id - the resource identifier.
        registry - the registry instance.
        Throws:
        GovernanceException - if the construction fails.
      • EndpointImpl

        public EndpointImpl​(String url,
                            String id)
        Constructor accepting resource identifier and the endpoint URL.
        Parameters:
        id - the resource identifier.
        url - the endpoint URL.