org.jvnet.hk2.annotations
Annotation Type CompanionOf


@Contract
@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface CompanionOf

Marks the component as a companion to another "lead" component.

Whenever the lead component is placed into habitat, the companion will be also placed into the habitat.


Required Element Summary
 Class<?> value
          Specifies the target of the companion.
 

Element Detail

value

@Index
public abstract Class<?> value
Specifies the target of the companion.



Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.

Generated on 12-March-2010 04:35