public interface MachineLocationCustomizer
Users are strongly encouraged to sub-class BasicMachineLocationCustomizer
, to give
some protection against this Beta
API changing in future releases.
Customizers can be instantiated on-demand, so the customize(MachineLocation)
and preRelease(MachineLocation)
methods may not be called on the same instance.
This is always true after a Brooklyn restart, and may be true at other times depending
how the customizer has been wired in.
Modifier and Type | Method and Description |
---|---|
void |
customize(MachineLocation machine)
Override to configure the given machine once it has been created (prior to any use).
|
void |
preRelease(MachineLocation machine)
Override to handle machine-related cleanup prior to
MachineProvisioningLocation
releasing the machine. |
void customize(MachineLocation machine)
void preRelease(MachineLocation machine)
MachineProvisioningLocation
releasing the machine.