public interface HandlerContainer
|Modifier and Type||Method and Description|
Call this method after the object is constructed in order to bind all its handlers.
Returns true if the
Call this method when you want to release the object and its handlers are not needed anymore.
bind()from the constructor of a non-leaf class since it is meant to be called after the object has been entirely constructed. When automatic binding is used (see
HandlerContainerImpl), this will be called immediately after the object is constructed through Guice/GIN dependency injection mechanism. If you are not using automatic binding, or if you later call
unbind()on this object, you will have to call
bind()manually. Multiple call to bind will not fail, the class will be bound once.
HandlerContaineris currently bound. That is, the
bind()method has completed and
unbind()has not been called.
bind()again manually if you ever want to reuse the object.
Copyright © 2010-2014 ArcBees. All Rights Reserved.