public static class GCUBEResource.ResourceConsumer extends Object implements GCUBEConsumer<GCUBEResource.ResourceTopic,Object>
GCUBEConsumer of ResourceEvents.| Constructor and Description |
|---|
GCUBEResource.ResourceConsumer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onAddScope(GCUBEResource.AddScopeEvent event)
Add scope event callback.
|
<T1 extends GCUBEResource.ResourceTopic,P1> |
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.
|
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.Copyright © 2015. All Rights Reserved.