org.jvnet.hk2.component
Interface InhabitantListener

All Known Implementing Classes:
AbstractRunLevelService, DefaultRunLevelService

public interface InhabitantListener

For Listening to an Inhabitant.

Author:
Jeff Trent

Nested Class Summary
static class InhabitantListener.EventType
           
 
Method Summary
 boolean inhabitantChanged(InhabitantListener.EventType eventType, Inhabitant<?> inhabitant)
          Called when the inhabitant has changed.
 

Method Detail

inhabitantChanged

boolean inhabitantChanged(InhabitantListener.EventType eventType,
                          Inhabitant<?> inhabitant)
Called when the inhabitant has changed.

Parameters:
eventType -
inhabitant -
Returns:
callee should return true to continue receiving notification, false otherwise


Copyright © 2011 Oracle Corporation. All Rights Reserved.