org.gcube.data.tml.clients
Class AdminAPI
java.lang.Object
org.gcube.data.tml.clients.AdminAPI
public class AdminAPI
- extends Object
Administrative operations over remote collection managers.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminAPI
public AdminAPI()
deleteReader
public static Future<?> deleteReader(org.apache.axis.message.addressing.EndpointReferenceType endpoint)
deleteWriter
public static Future<?> deleteWriter(org.apache.axis.message.addressing.EndpointReferenceType endpoint)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
deleteServices
public static List<Future<?>> deleteServices(String sourceId,
URL address)
throws Exception
- Deletes readers and writer services for a given source at a given address.
- Parameters:
sourceId - the identifier of the sourceaddress - the address
- Returns:
- a two-element list of
Future outcomes of the operation (ReaderResource and WriterResource)
- Throws:
Exception - if the operation fails due to a local error
deleteReaders
public static List<Future<org.apache.axis.message.addressing.EndpointReferenceType>> deleteReaders(String sourceId)
throws org.gcube.common.clients.DiscoveryException
- Throws:
org.gcube.common.clients.DiscoveryException
deleteWriters
public static List<Future<org.apache.axis.message.addressing.EndpointReferenceType>> deleteWriters(String sourceId)
throws org.gcube.common.clients.DiscoveryException
- Throws:
org.gcube.common.clients.DiscoveryException
Copyright © 2012. All Rights Reserved.