com.sun.jini.reggie
Class Util
java.lang.Object
com.sun.jini.reggie.Util
class Util
- extends Object
Miscellaneous common utility methods.
- Author:
- Sun Microsystems, Inc.
Constructor Summary |
Util()
|
Method Summary |
(package private) static void |
checkRegistrantServiceID(ServiceID serviceID,
Logger logger,
Level level)
Checks if the value of the given service ID to register conforms to the
ServiceID specification, logging a message to the provided logger at the
specified logging level if it doesn't. |
(package private) static Method |
getMethod(Class type,
String name,
Class[] paramTypes)
Returns Method object for specified method, which should always exist. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
Util()
getMethod
static Method getMethod(Class type,
String name,
Class[] paramTypes)
- Returns Method object for specified method, which should always exist.
checkRegistrantServiceID
static void checkRegistrantServiceID(ServiceID serviceID,
Logger logger,
Level level)
- Checks if the value of the given service ID to register conforms to the
ServiceID specification, logging a message to the provided logger at the
specified logging level if it doesn't.
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.