brooklyn.entity.proxying
Interface EntityInitializer


public interface EntityInitializer


Method Summary
 void apply(EntityLocal entity)
          Applies initialization logic to a just-built entity.
 

Method Detail

apply

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)


Copyright © 2013. All Rights Reserved.