|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.registry.uddi.model.ServiceInfo
public class ServiceInfo
When a search can return multiple service providers this class is returned in the list as ServiceProviderInfo's. It provides a cut down view of the found service providers to reduce excess data being returned. It allows the caller to decide if they want the full serive provider information which can be obtained by supplying this object to the service manager get calls.
Field Summary | |
---|---|
private org.uddi4j.response.ServiceInfo |
serviceInfo
Stores a reference to the service info object returned from the uddi registry |
Constructor Summary | |
---|---|
ServiceInfo(org.uddi4j.datatype.service.BusinessService service)
Create service info object from a given uddi business service |
|
ServiceInfo(org.uddi4j.response.ServiceInfo serviceInfo)
Constructor |
Method Summary | |
---|---|
static java.util.List |
extractServiceInfos(org.uddi4j.response.ServiceList serviceList)
This method creates a list of serviceInfo objects from the supplied service list. |
java.lang.String |
getId()
Returns the uniquie id of the service found. |
java.lang.String |
getName()
Returns the name of the service found. |
void |
removeFromServicesList(java.util.List uddiBusinessServices)
Removes the service specified by this service info from the list of uddi4j business services. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private org.uddi4j.response.ServiceInfo serviceInfo
Constructor Detail |
---|
public ServiceInfo(org.uddi4j.response.ServiceInfo serviceInfo)
serviceInfo
- The UDDI service info objectpublic ServiceInfo(org.uddi4j.datatype.service.BusinessService service)
service
- The business service to create an Info object fromMethod Detail |
---|
public java.lang.String getId()
getId
in interface ServiceInfo
public java.lang.String getName()
getName
in interface ServiceInfo
public static java.util.List extractServiceInfos(org.uddi4j.response.ServiceList serviceList)
serviceList
- The service list to process
public void removeFromServicesList(java.util.List uddiBusinessServices) throws ServiceDoesNotExistException
uddiBusinessServices
- The list of uddi services to remove from
ServiceDoesNotExistException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |