org.qi4j.api.service
Interface ServiceReference<T>


public interface ServiceReference<T>

From a ServiceReference you can access and modify metadata about a service. You can also access the actual service through get(), that can then be invoked.


Method Summary
 T get()
           
 String identity()
           
 boolean isActive()
           
 boolean isAvailable()
           
<T> T
metaInfo(Class<T> infoType)
           
 

Method Detail

identity

String identity()

metaInfo

<T> T metaInfo(Class<T> infoType)

get

T get()

isActive

boolean isActive()

isAvailable

boolean isAvailable()