org.astrogrid.registry.client
Class RegistryDelegateFactory

java.lang.Object
  extended byorg.astrogrid.registry.client.RegistryDelegateFactory

public class RegistryDelegateFactory
extends java.lang.Object

Creates the appropriate delegates to access the registry.

Author:
Kevin Benson

Field Summary
static java.lang.String ADMIN_URL_PROPERTY
           
static java.lang.String ALTQUERY_URL_PROPERTY
           
static org.astrogrid.config.Config conf
           
static java.lang.String OAI_URL_PROPERTY
           
static java.lang.String QUERY_URL_PROPERTY
           
 
Constructor Summary
RegistryDelegateFactory()
           
 
Method Summary
static RegistryAdminService createAdmin()
           
static RegistryAdminService createAdmin(java.net.URL endPoint)
           
static OAIService createOAI()
           
static OAIService createOAI(java.net.URL endPoint)
           
static RegistryService createQuery()
           
static RegistryService createQuery(java.net.URL endPoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conf

public static org.astrogrid.config.Config conf

QUERY_URL_PROPERTY

public static final java.lang.String QUERY_URL_PROPERTY
See Also:
Constant Field Values

OAI_URL_PROPERTY

public static final java.lang.String OAI_URL_PROPERTY
See Also:
Constant Field Values

ALTQUERY_URL_PROPERTY

public static final java.lang.String ALTQUERY_URL_PROPERTY
See Also:
Constant Field Values

ADMIN_URL_PROPERTY

public static final java.lang.String ADMIN_URL_PROPERTY
See Also:
Constant Field Values
Constructor Detail

RegistryDelegateFactory

public RegistryDelegateFactory()
Method Detail

createQuery

public static RegistryService createQuery()
Returns:

createQuery

public static RegistryService createQuery(java.net.URL endPoint)
Parameters:
endPoint -
Returns:
To Do:
check for null endpoint and return illegal argument exception?

createAdmin

public static RegistryAdminService createAdmin()
Returns:

createAdmin

public static RegistryAdminService createAdmin(java.net.URL endPoint)
Parameters:
endPoint -
Returns:
To Do:
check for null endpoint and return illegal argument exception?

createOAI

public static OAIService createOAI()
Returns:

createOAI

public static OAIService createOAI(java.net.URL endPoint)
Parameters:
endPoint -
Returns:
To Do:
check for null endpoint and return illegal argument exception?


Copyright © 2002-2007 AstroGrid. All Rights Reserved.