Brooklyn

brooklyn.entity.proxying
[Java] Interface EntityInitializer


public interface EntityInitializer

Method Summary
void apply(EntityLocal entity)

Applies initialization logic to a just-built entity.

 

Method Detail

apply

public void apply(EntityLocal entity)
Applies initialization logic to a just-built entity. Invoked immediately after the "init" call on the AbstractEntity constructed.
Parameters:
entity - guaranteed to be the actual implementation instance, thus guaranteed to be castable to EntityInternal which is often desired, or to the type at hand (it is not even a proxy)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.