*/
public static final void removeHLS (HLS service) throws InvalidHLSException, SystemException
{
if (service == null)
throw new InvalidHLSException();
else
{
synchronized (_hls)
{
OrderedListIterator iter = new OrderedListIterator(_hls);
OrderedListElement elem = iter.iterate();
while ((elem != null) && (((HLSWrapper) elem).hls() != service))
{
elem = iter.iterate();
}
if (elem == null)
throw new InvalidHLSException(wsasLogger.log_mesg.getString("com.arjuna.mwlabs.wsas.activity.HLSManager_1"));
else
_hls.remove(elem);
}
}
}