org.sonatype.guice.plexus.annotations
Class ComponentImpl

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

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

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


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

Constructor Detail

ComponentImpl

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

role

public Class<?> role()

hint

public String hint()

instantiationStrategy

public String instantiationStrategy()

description

public String description()

isolatedRealm

public boolean isolatedRealm()

alias

public String alias()

composer

public String composer()

configurator

public String configurator()

factory

public String factory()

lifecycleHandler

public String lifecycleHandler()

profile

public String profile()

type

public String type()

version

public String version()

equals

public boolean equals(Object rhs)
Specified by:
equals in interface Annotation
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Annotation
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface Annotation
Overrides:
toString in class Object

annotationType

public Class<? extends Annotation> annotationType()
Specified by:
annotationType in interface Annotation


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