public class TopologyProducerHook extends DefaultServerHook
Constructor and Description |
---|
TopologyProducerHook() |
Modifier and Type | Method and Description |
---|---|
void |
onServerCreated(BmContext context,
ItemValue<Server> item)
This is called after a server is created in the database.
|
void |
onServerDeleted(BmContext context,
ItemValue<Server> itemValue)
This is called after a server is deleted in the database.
|
void |
onServerUpdated(BmContext context,
ItemValue<Server> previousValue,
Server value)
This is called after a server is updated in the database.
|
beforeCreate, beforeUpdate, onServerAssigned, onServerPreUnassigned, onServerTagged, onServerUnassigned, onServerUntagged
public void onServerCreated(BmContext context, ItemValue<Server> item) throws ServerFault
IServerHook
onServerCreated
in interface IServerHook
onServerCreated
in class DefaultServerHook
ServerFault
public void onServerUpdated(BmContext context, ItemValue<Server> previousValue, Server value) throws ServerFault
IServerHook
onServerUpdated
in interface IServerHook
onServerUpdated
in class DefaultServerHook
ServerFault
public void onServerDeleted(BmContext context, ItemValue<Server> itemValue) throws ServerFault
IServerHook
onServerDeleted
in interface IServerHook
onServerDeleted
in class DefaultServerHook
ServerFault
Copyright © 2021. All Rights Reserved.