org.sonatype.guice.plexus.config
Interface PlexusBeanMetadata

All Known Implementing Classes:
PlexusAnnotatedMetadata

public interface PlexusBeanMetadata

Supplies metadata associated with a particular Plexus bean implementation.


Method Summary
 org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
          Returns @Configuration metadata for the given property of the Plexus bean.
 org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
          Returns @Requirement metadata for the given property of the Plexus bean.
 boolean isEmpty()
           
 

Method Detail

isEmpty

boolean isEmpty()
Returns:
true if there is no more metadata; otherwise false

getConfiguration

org.codehaus.plexus.component.annotations.Configuration getConfiguration(BeanProperty<?> property)
Returns @Configuration metadata for the given property of the Plexus bean.

Parameters:
property - The bean property
Returns:
Configuration metadata; null if no such metadata is available

getRequirement

org.codehaus.plexus.component.annotations.Requirement getRequirement(BeanProperty<?> property)
Returns @Requirement metadata for the given property of the Plexus bean.

Parameters:
property - The bean property
Returns:
Requirement metadata; null if no such metadata is available


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