org.sonatype.guice.plexus.annotations
Class ComponentImpl
java.lang.Object
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.
ComponentImpl
public ComponentImpl(Class<?> role,
String hint,
String instantiationStrategy,
String description)
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-2011 Sonatype, Inc.. All Rights Reserved.