|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.resources.GCUBEResource.ResourceConsumer
public static class GCUBEResource.ResourceConsumer
Base implementation of a GCUBEConsumer of ResourceEvents.
| Constructor Summary | |
|---|---|
GCUBEResource.ResourceConsumer()
|
|
| Method Summary | ||
|---|---|---|
protected void |
onAddScope(GCUBEResource.AddScopeEvent event)
Add scope event callback. |
|
|
onEvent(GCUBEEvent<T1,P1>... events)
Receives RI lifetime events and dispatches them to topic-specific callbacks. |
|
protected void |
onRemoveScope(GCUBEResource.RemoveScopeEvent event)
Remove scope event callback. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GCUBEResource.ResourceConsumer()
| Method Detail |
|---|
public <T1 extends GCUBEResource.ResourceTopic,P1> void onEvent(GCUBEEvent<T1,P1>... events)
onEvent in interface GCUBEConsumer<GCUBEResource.ResourceTopic,Object>T1 - the topic type.P1 - the payload type.events - the events.protected void onAddScope(GCUBEResource.AddScopeEvent event)
event - the event.protected void onRemoveScope(GCUBEResource.RemoveScopeEvent event)
event - the event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||