java.lang.Object
org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifactImpl
org.wso2.carbon.governance.api.endpoints.dataobjects.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 Details

    • 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:
      url - the endpoint URL.
      id - the resource identifier.
  • Method Details