|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.rgma.discovery.ServiceImpl
org.glite.rgma.discovery.ServiceDetailsImpl
A detailed description of a Service, including information about VOs, service data and associated services.
Constructor Summary | |
ServiceDetailsImpl()
Creates an empty ServiceDetails object. |
|
ServiceDetailsImpl(org.glite.discovery.Service service)
Creates a new ServiceDetails object based on the given Service. |
|
ServiceDetailsImpl(org.glite.discovery.Service service,
java.lang.String site,
java.lang.String administration,
java.lang.String[] vo,
java.lang.String wsdl,
org.glite.discovery.Service[] associatedServices,
org.glite.discovery.ServiceData[] data)
Creates a new ServiceDetails object with the given service, site, administration, VOs, WSDL, associated services and service data. |
|
ServiceDetailsImpl(java.lang.String name,
java.lang.String type,
java.lang.String endpoint,
java.lang.String version,
java.lang.String site,
java.lang.String administration,
java.lang.String[] vo,
java.lang.String wsdl,
org.glite.discovery.Service[] associatedServices,
org.glite.discovery.ServiceData[] data)
Creates a new ServiceDetails object with the given name, type, endpoint, version, status, site, administration, VOs, WSDL, associated services and service data. |
Method Summary | |
java.lang.String |
getAdministration()
Gets the admin contact for the service. |
org.glite.discovery.Service[] |
getAssociatedServices()
Gets the associated services for the service. |
org.glite.discovery.ServiceData[] |
getData()
Gets the service data (key/value pairs) for the service. |
java.lang.String |
getSite()
Gets the site where the service is deployed. |
java.lang.String[] |
getVOs()
Gets the list of VOs under which the service operates. |
java.lang.String |
getWSDL()
Gets the URL for the WSDL of the service. |
void |
setAdministration(java.lang.String administration)
Sets the admin contact for the service. |
void |
setAssociatedServices(org.glite.discovery.Service[] associatedServices)
Sets the associated services for the service. |
void |
setData(org.glite.discovery.ServiceData[] data)
Sets the service data (key/value pairs) for the service. |
void |
setSite(java.lang.String site)
Sets the site where the service is deployed. |
void |
setVOs(java.lang.String[] vos)
Sets the list of VOs under which the service operates. |
void |
setWSDL(java.lang.String wsdl)
Sets the URL for the WSDL of the service. |
java.lang.String |
toString()
Returns a string representation of this ServiceDetails object. |
Methods inherited from class org.glite.rgma.discovery.ServiceImpl |
getEndpoint, getName, getStatus, getStatusMessage, getType, getVersion, setEndpoint, setName, setStatus, setStatusMessage, setType, setVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.glite.discovery.Service |
getEndpoint, getName, getStatus, getStatusMessage, getType, getVersion |
Constructor Detail |
public ServiceDetailsImpl()
public ServiceDetailsImpl(java.lang.String name, java.lang.String type, java.lang.String endpoint, java.lang.String version, java.lang.String site, java.lang.String administration, java.lang.String[] vo, java.lang.String wsdl, org.glite.discovery.Service[] associatedServices, org.glite.discovery.ServiceData[] data)
name
- The unique service ID.type
- The service type.endpoint
- The service endpoint.version
- A string identifying the version of the current service.site
- The site hosting the service.administration
- A string giving contact information for admin purposes.vo
- The list of VOs the service is serving.wsdl
- A URL to the service WSDL.associatedServices
- A list of associated services.data
- A list of parameters describing the service.public ServiceDetailsImpl(org.glite.discovery.Service service)
service
- A Service object.public ServiceDetailsImpl(org.glite.discovery.Service service, java.lang.String site, java.lang.String administration, java.lang.String[] vo, java.lang.String wsdl, org.glite.discovery.Service[] associatedServices, org.glite.discovery.ServiceData[] data)
service
- A Service object.site
- The site hosting the service.administration
- A string giving contact information for admin purposes.vo
- The list of VOs the service is serving.wsdl
- A URL to the service WSDL.associatedServices
- A list of associated services.data
- A list of parameters describing the service.Method Detail |
public java.lang.String toString()
toString
in class ServiceImpl
public java.lang.String getAdministration()
getAdministration
in interface org.glite.discovery.ServiceDetails
public void setAdministration(java.lang.String administration)
administration
- The admin contact for the service.public org.glite.discovery.Service[] getAssociatedServices()
getAssociatedServices
in interface org.glite.discovery.ServiceDetails
public void setAssociatedServices(org.glite.discovery.Service[] associatedServices)
associatedServices
- An array of Service objects.public org.glite.discovery.ServiceData[] getData()
getData
in interface org.glite.discovery.ServiceDetails
public void setData(org.glite.discovery.ServiceData[] data)
data
- An array of ServiceData objects.public java.lang.String getSite()
getSite
in interface org.glite.discovery.ServiceDetails
public void setSite(java.lang.String site)
site
- Name of the deployment site.public java.lang.String[] getVOs()
getVOs
in interface org.glite.discovery.ServiceDetails
public void setVOs(java.lang.String[] vos)
vos
- An array of VO names.public java.lang.String getWSDL()
getWSDL
in interface org.glite.discovery.ServiceDetails
public void setWSDL(java.lang.String wsdl)
wsdl
- URL pointing to the WSDL.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |