public void activate(ServiceID[] serviceIDs) throws NullPointerException,
			InvalidArgumentException, UnrecognizedServiceException,
			InvalidStateException, ManagementException {
		if (serviceIDs.length == 0) {
			throw new InvalidArgumentException("InvalidArgumentException");
		}

		for (int i = 0; i < serviceIDs.length; i++) {
			if (serviceIDs[i] == null) {
				throw new InvalidArgumentException("InvalidArgumentException");
			}
		}
		for (int i = 0; i < serviceIDs.length - 1; i++)
			for (int j = i + 1; j < serviceIDs.length; j++)
				if (serviceIDs[i] == (serviceIDs[j])) {
					throw new InvalidArgumentException(
							"InvalidArgumentException");
				}

		for (int i = 0; i < serviceIDs.length; i++) {
			activate(serviceIDs[i]);
		}
	}
public void activate(ServiceID[] serviceIDs) throws NullPointerException,
			InvalidArgumentException, UnrecognizedServiceException,
			InvalidStateException, ManagementException {
		if (serviceIDs.length == 0) {
			throw new InvalidArgumentException("InvalidArgumentException");
		}

		for (int i = 0; i < serviceIDs.length; i++) {
			if (serviceIDs[i] == null) {
				throw new InvalidArgumentException("InvalidArgumentException");
			}
		}
		for (int i = 0; i < serviceIDs.length - 1; i++)
			for (int j = i + 1; j < serviceIDs.length; j++)
				if (serviceIDs[i] == (serviceIDs[j])) {
					throw new InvalidArgumentException(
							"InvalidArgumentException");
				}

		for (int i = 0; i < serviceIDs.length; i++) {
			activate(serviceIDs[i]);
		}
	}
public void activate ( ServiceID [ ] serviceIDs ) throws NullPointerException , InvalidArgumentException , UnrecognizedServiceException , InvalidStateException , ManagementException { if ( serviceIDs . length == 0 ) { throw new InvalidArgumentException ( "InvalidArgumentException" ) ; } for ( int i = 0 ; i < serviceIDs . length ; i ++ ) { if ( serviceIDs [ i ] == null ) { throw new InvalidArgumentException ( "InvalidArgumentException" ) ; } } for ( int i = 0 ; i < serviceIDs . length - 1 ; i ++ ) for ( int j = i + 1 ; j < serviceIDs . length ; j ++ ) if ( serviceIDs [ i ] == ( serviceIDs [ j ] ) ) { throw new InvalidArgumentException ( "InvalidArgumentException" ) ; } for ( int i = 0 ; i < serviceIDs . length ; i ++ ) { activate ( serviceIDs [ i ] ) ; } }
/*
(non-Javadoc)

@see
javax.slee.management.ServiceManagementMBean#activate(javax.slee.ServiceID
[])
/ * ( non - Javadoc )