|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.ogsadai.client.CoGUtil
A wrapper (using reflection) around the Globus Java CoG org.globus.axis.util.Util
class.
We need to call this class to configure Transport Level Security correctly. Wrapping the class and using reflection to call it allows us to eliminate the compile time dependency on this Globus specific JAR.
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 boolean |
mRegistrationAttempted Have we attempted registration? |
private static CoGUtilAccessException |
mRegistrationException Exception that occurred if registration failed |
private static boolean |
mRegistrationSuccessfull Has the registration been successfull? |
private static java.lang.Class[] |
PARAM_TYPES Parameters types for the method |
Constructor Summary | |
CoGUtil() |
Method Summary | |
static CoGUtilAccessException |
getRegistrationException() Gets the exception associated with failed registration. |
static boolean |
isRegistered() Has transport been successfully registered? |
static void |
registerTransport() Register transport level security. |
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
private static boolean mRegistrationAttempted
private static boolean mRegistrationSuccessfull
private static CoGUtilAccessException mRegistrationException
Constructor Detail |
public CoGUtil()
Method Detail |
public static void registerTransport()
This effectively passes the method call onto the org.globus.axis.util.Util
class. If any error occurs it can be detected using the isRegistered
method.
public static boolean isRegistered()
true
if registration was successfull, false
otherwise.public static CoGUtilAccessException getRegistrationException()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |