uk.org.ogsadai.service.wsrf.sgr
Class ServiceGroupRegistrationClientWrapper
java.lang.Object
|
+--uk.org.ogsadai.service.wsrf.sgr.ServiceGroupRegistrationClientWrapper
- public class ServiceGroupRegistrationClientWrapper
- extends java.lang.Object
Wrapper around Globus Toolkit 4 org.globus.wsrf.impl.servicegroup.client.ServiceGroupRegistrationClient
class.
This wrapper class accesses the GT4 class using reflection. This allows OGSA-DAI to compile without this non-core GT4 JAR. Obviously the JAR will be needed at run time if this functionality is to be used.
- Author:
- The OGSA-DAI Project Team
Field Summary |
private static java.lang.String |
CLASS_NAME
Name of class we are wrapping |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static java.lang.String |
METHOD_NAME
Name of the method called |
private static java.lang.Class[] |
PARAM_TYPES
Parameters types for the method |
Method Summary |
static void |
register(org.globus.wsrf.ResourceContext resourceContext, org.apache.axis.message.addressing.EndpointReferenceType epr, java.lang.String registrationFileName)
Register a resource with a local service group registry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
-
Copyright statement
- See Also:
- Constant Field Values
CLASS_NAME
private static final java.lang.String CLASS_NAME
-
Name of class we are wrapping
- See Also:
- Constant Field Values
METHOD_NAME
private static final java.lang.String METHOD_NAME
-
Name of the method called
- See Also:
- Constant Field Values
PARAM_TYPES
private static final java.lang.Class[] PARAM_TYPES
-
Parameters types for the method
ServiceGroupRegistrationClientWrapper
public ServiceGroupRegistrationClientWrapper()
register
public static void register(org.globus.wsrf.ResourceContext resourceContext,
org.apache.axis.message.addressing.EndpointReferenceType epr,
java.lang.String registrationFileName)
throws ServiceGroupRegistrationConfigException,
ServiceGroupRegistrationException
-
Register a resource with a local service group registry.
-
- Parameters:
resourceContext
- Resource context of resource being registered.
epr
- End-point reference of the resource being registered.
registrationFileName
- Registration file containing registration parameters.
- Throws:
ServiceGroupRegistrationConfigException
- if the Globus Toolkit class cannot be loaded or invoked.
ServiceGroupRegistrationException
- if there is a problem when registering the service.