Code example for Exchanger

Methods: exchange

0
	{ 
		if (event.getServiceReference().equals(context.getServiceReference(service.getName())))
		{ 
			try 
			{ 
				serviceReferenceExchanger.exchange(event.getServiceReference());
			} 
			catch (InterruptedException e)
			{ 
				logger.error(e.getMessage(), e);
			} 
		} 
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java