|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Import<T>
Handle to a service instance imported from a ServiceRegistry.
| Method Summary | |
|---|---|
Map<String,?> |
attributes()
Get the attributes associated with the service. |
boolean |
available()
Is the service instance available? |
T |
get()
Start using the imported service instance. |
void |
unget()
Stop using the imported service instance. |
| Method Detail |
|---|
T get()
ServiceUnavailableException - if the service is unavailableMap<String,?> attributes()
void unget()
boolean available()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||