org.jvnet.hk2.component
Interface Injectable
public interface Injectable
A resource that can be injected into a component might optionally want to be notified of such
injection. This can be useful to track usage or to set up a notification mechanism
for change happening in the injected resource.
- Author:
- Jerome Dochez
Method Summary |
void |
injectedInto(java.lang.Object target)
notification of injection into a component |
injectedInto
void injectedInto(java.lang.Object target)
- notification of injection into a component
- Parameters:
target
- the component in which we are injected.
Copyright © 2010 Oracle Corporation. All Rights Reserved.