Package com.sun.identity.shared.jaxrpc
Class JAXRPCHelper
- java.lang.Object
-
- com.sun.identity.shared.jaxrpc.JAXRPCHelper
-
- Direct Known Subclasses:
JAXRPCUtil
public class JAXRPCHelper extends Object
The classJAXRPCHelperprovides functions to get JAXRPC stubs to a valid Identity Server.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Debugdebugprotected static booleanserverFailedstatic StringSMS_SERVICEprotected static StringvalidRemoteURL
-
Constructor Summary
Constructors Constructor Description JAXRPCHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static StringgetValidServerURL()static StringgetValidURL(String serviceName)Returns a valid URL endpoint for the given service name.protected static booleanisServerValid(String url)static voidserverFailed(String serviceName)Sets the service to be failed.
-
-
-
Field Detail
-
SMS_SERVICE
public static final String SMS_SERVICE
- See Also:
- Constant Field Values
-
validRemoteURL
protected static String validRemoteURL
-
serverFailed
protected static boolean serverFailed
-
debug
protected static Debug debug
-
-
Method Detail
-
getValidURL
public static String getValidURL(String serviceName) throws RemoteException
Returns a valid URL endpoint for the given service name.- Parameters:
serviceName- Service Name.- Returns:
- a valid URL endpoint for the given service name.
- Throws:
RemoteException- if there are no valid servers.
-
serverFailed
public static void serverFailed(String serviceName)
Sets the service to be failed.
-
getValidServerURL
protected static String getValidServerURL()
-
isServerValid
protected static boolean isServerValid(String url)
-
-