public interface ResourceChangeListener
Modifier and Type | Interface and Description |
---|---|
static class |
ResourceChangeListener.ResourceChange
Types of change events; creation, update, and deletion.
|
Modifier and Type | Method and Description |
---|---|
void |
onResourceCreate(Resource resource)
Called when a resource is created.
|
void |
onResourceDelete(Resource resource)
Called when a resource is deleted.
|
void |
onResourceUpdate(Resource resource)
Called when a resource is update.
|
void onResourceCreate(Resource resource)
resource
- the resource that was createdvoid onResourceUpdate(Resource resource)
resource
- the resource that was updatedvoid onResourceDelete(Resource resource)
resource
- the resource that was deletedCopyright © 2018 JBoss by Red Hat. All rights reserved.