org.sonatype.guice.plexus.annotations
Class ComponentImpl

java.lang.Object
  extended by org.sonatype.guice.plexus.annotations.ComponentImpl
All Implemented Interfaces:
java.lang.annotation.Annotation, org.codehaus.plexus.component.annotations.Component

public final class ComponentImpl
extends java.lang.Object
implements org.codehaus.plexus.component.annotations.Component

Partial runtime implementation of Plexus @Component annotation, supporting the most common attributes.


Constructor Summary
ComponentImpl(java.lang.Class<?> role, java.lang.String hint, java.lang.String instantiationStrategy, java.lang.String description)
           
 
Method Summary
 java.lang.String alias()
           
 java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
           
 java.lang.String composer()
           
 java.lang.String configurator()
           
 java.lang.String description()
           
 boolean equals(java.lang.Object rhs)
           
 java.lang.String factory()
           
 int hashCode()
           
 java.lang.String hint()
           
 java.lang.String instantiationStrategy()
           
 boolean isolatedRealm()
           
 java.lang.String lifecycleHandler()
           
 java.lang.String profile()
           
 java.lang.Class<?> role()
           
 java.lang.String toString()
           
 java.lang.String type()
           
 java.lang.String version()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentImpl

public ComponentImpl(java.lang.Class<?> role,
                     java.lang.String hint,
                     java.lang.String instantiationStrategy,
                     java.lang.String description)
Method Detail

role

public java.lang.Class<?> role()

hint

public java.lang.String hint()

instantiationStrategy

public java.lang.String instantiationStrategy()

description

public java.lang.String description()

isolatedRealm

public boolean isolatedRealm()

alias

public java.lang.String alias()

composer

public java.lang.String composer()

configurator

public java.lang.String configurator()

factory

public java.lang.String factory()

lifecycleHandler

public java.lang.String lifecycleHandler()

profile

public java.lang.String profile()

type

public java.lang.String type()

version

public java.lang.String version()

equals

public boolean equals(java.lang.Object rhs)
Specified by:
equals in interface java.lang.annotation.Annotation
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.lang.annotation.Annotation
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface java.lang.annotation.Annotation
Overrides:
toString in class java.lang.Object

annotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
Specified by:
annotationType in interface java.lang.annotation.Annotation


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.