Version: 1.1.1

org.biomoby.registry.rdfagent.util
Class CentralAdmin

java.lang.Object
  extended by org.biomoby.registry.rdfagent.util.CentralAdmin

public class CentralAdmin
extends Object

Author:
Eddie created Feb 20, 2006

Constructor Summary
CentralAdmin(String endpoint, String uri, String username, String password, String phrase)
           
 
Method Summary
 int deleteService(String servicename, String authority)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentralAdmin

public CentralAdmin(String endpoint,
                    String uri,
                    String username,
                    String password,
                    String phrase)
Parameters:
endpoint - the biomoby registry endpoint
uri - the biomoby registry uri
username - the user name needed for authorization
password - the password needed for authorization
phrase - the phrase that is contained in the mobycentral.config file
Method Detail

deleteService

public int deleteService(String servicename,
                         String authority)
Parameters:
servicename - the name of the service to remove
authority - the authority of the service
Returns:
an int that is one of the following:

101 - missing authority

102 - missing service name

103 - missing pass phrase

200 - service successfully removed

404 - service not found in the registry

501 - key phrase didn't match

505 - unknown error

506 - soap service exception

507 - axis fault

508 - bad url


Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010