This commit is contained in:
Lucio Lelii 2009-01-18 18:15:05 +00:00
parent fd13f312d2
commit a496962014
1 changed files with 2 additions and 3 deletions

View File

@ -24,8 +24,7 @@ public abstract class VREManagerServiceHandler<T, P> extends GCUBEServiceHandler
private P parameter;
public GCUBEScope scope= ServiceContext.getContext().getScope();
public String relatedGhnId= null;
public String relatedGhnIs=null;
public T getReturnValue(){
return returnValue;
}
@ -49,7 +48,7 @@ public abstract class VREManagerServiceHandler<T, P> extends GCUBEServiceHandler
try{
ISClient client = GHNContext.getImplementation(ISClient.class);
GCUBERIQuery query = client.getQuery(GCUBERIQuery.class);
query.apublic String relatedGhnId;ddAtomicConditions(new AtomicCondition("//ServiceName", "VREManager"));
query.addAtomicConditions(new AtomicCondition("//ServiceName", "VREManager"));
List<EndpointReferenceType> eprs = new ArrayList<EndpointReferenceType>();
for (GCUBERunningInstance instance : client.execute(query, scope))
eprs.add(instance.getAccessPoint().getEndpoint("gcube/vremanagement/VREManager"));