org.glassfish.jersey.internal
Interface ServiceProviders.ServiceListener<T>

Type Parameters:
T -
Enclosing class:
ServiceProviders

public static interface ServiceProviders.ServiceListener<T>

Asynchronous callback interface for handling all the service providers of a given contract type.


Method Summary
 void onAdd(T service)
          Invoked whenever a new provider instance of the given type has been found.
 

Method Detail

onAdd

void onAdd(T service)
Invoked whenever a new provider instance of the given type has been found.

Parameters:
service - most recently found provider instance.


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.