org.xwiki.component.annotation
Class ComponentDeclaration
java.lang.Object
org.xwiki.component.annotation.ComponentDeclaration
public class ComponentDeclaration
- extends Object
Represents a Component declaration (i.e. component implementation class name and component priority).
- Since:
- 3.3M1
- Version:
- $Id: 5f1e0720028c3373ce44c80f6ef6d2df37cc7e58 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDeclaration
public ComponentDeclaration(String implementationClassName,
int priority)
- Parameters:
implementationClassName - see getImplementationClassName()priority - see getPriority()
getPriority
public int getPriority()
- Returns:
- the priority this component declaration has (when several components are registered for the same
Role and Hint the priority is used to decide which one gets registered - the lowest value wins)
getImplementationClassName
public String getImplementationClassName()
- Returns:
- the component implementation class name for the declared component
Copyright © 2004-2011 XWiki. All Rights Reserved.