|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.service.wsrf.sgr.ServiceGroupRegistrationClientWrapper
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.
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 |
Constructor Summary | |
ServiceGroupRegistrationClientWrapper()
|
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 |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static final java.lang.String CLASS_NAME
private static final java.lang.String METHOD_NAME
private static final java.lang.Class[] PARAM_TYPES
Constructor Detail |
public ServiceGroupRegistrationClientWrapper()
Method Detail |
public static void register(org.globus.wsrf.ResourceContext resourceContext, org.apache.axis.message.addressing.EndpointReferenceType epr, java.lang.String registrationFileName) throws ServiceGroupRegistrationConfigException, ServiceGroupRegistrationException
resourceContext
- Resource context of resource being registered.epr
- End-point reference of the resource being registered.registrationFileName
- Registration file containing registration parameters.
ServiceGroupRegistrationConfigException
- if the Globus Toolkit class cannot be loaded or invoked.
ServiceGroupRegistrationException
- if there is a problem when registering the service.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |