com.sun.hk2.component
Annotation Type CompanionSeed


Deprecated. this is scheduled for removal

@Contract
@InhabitantAnnotation(value="default")
@CagedBy(value=CompanionSeed.Registerer.class)
public @interface CompanionSeed

Marks the companion relationship with another component.

Implementations of this contract are generated for each component with the CompanionOf annotation.

Author:
Kohsuke Kawaguchi

Required Element Summary
 java.lang.Class<?> companion
          Deprecated. Other metadata to capture the companion class.
 java.lang.Class<?> lead
          Deprecated. The type of the lead class.
 

Element Detail

lead

@Index
@InhabitantMetadata(value="lead")
public abstract java.lang.Class<?> lead
Deprecated. 
The type of the lead class.


companion

@InhabitantMetadata(value="companionClass")
public abstract java.lang.Class<?> companion
Deprecated. 
Other metadata to capture the companion class.



Copyright © 2011 Oracle Corporation. All Rights Reserved.