Adds a set of LookupLocator objects to the managed set of locators associated with this registration.
For any new locator placed in the registration's managed set of locators as a result of an invocation of this method, if that locator equals no other locator corresponding to a previously discovered lookup service (across all registrations), the lookup discovery service will attempt unicast discovery of the lookup service associated with the new locator.
@param locators an array, none of whose elements may be null, consistingof the LookupLocator objects with which to augment this registration's managed set of locators.
If any element of this parameter duplicates any other element of this parameter, the duplicate will be ignored. If any element of this parameter duplicates any element of this registration's managed set of locators, the duplicate will be ignored.
If the empty array is input, then this registration's managed set of locators will not change. If null is input, this method will throw a NullPointerException.
@throws java.lang.UnsupportedOperationException this exception occurswhen the lookup discovery service has no managed set of locators associated with this registration.
@throws java.lang.NullPointerException this exception occurs wheneither null is input to the locators parameter, or one or more of the elements of the locators parameter is null.
@throws java.rmi.RemoteException typically, this exception occurs whenthere is a communication failure between the client and the lookup discovery service. When this exception does occur, this registration's managed set of locators may or may not have been successfully augmented.
@see #removeLocators