|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact
org.wso2.carbon.governance.api.endpoints.dataobjects.Endpoint
public class 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..
| Field Summary |
|---|
| Fields inherited from class org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact |
|---|
attributes |
| Constructor Summary | |
|---|---|
Endpoint(String id,
org.wso2.carbon.registry.core.Registry registry)
Constructor accepting resource path, identifier and a registry instance. |
|
Endpoint(String url,
String id)
Constructor accepting resource identifier and the endpoint URL. |
|
| Method Summary | |
|---|---|
QName |
getQName()
Returns the QName of the artifact. |
String |
getUrl()
Method to obtain the endpoint URL. |
void |
loadEndpointDetails()
Method to load the endpoint details into this artifact. |
| Methods inherited from class org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact |
|---|
addAttribute, associateRegistry, attach, attachLifecycle, checkRegistryResourceAssociation, create, create, createVersion, detach, getAssociatedRegistry, getAttribute, getAttributeKeys, getAttributes, getDependencies, getDependents, getId, getLifecycleName, getLifecycleState, getPath, removeAttribute, setAttribute, setAttributes, setId, updatePath, updatePath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Endpoint(String id,
org.wso2.carbon.registry.core.Registry registry)
throws GovernanceException
id - the resource identifier.registry - the registry instance.
GovernanceException - if the construction fails.
public Endpoint(String url,
String id)
id - the resource identifier.url - the endpoint URL.| Method Detail |
|---|
public String getUrl()
public QName getQName()
GovernanceArtifact
getQName in class GovernanceArtifact
public void loadEndpointDetails()
throws GovernanceException
GovernanceException - if the operation failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||