Revision 655 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/library/Library.java
Library.java | ||
---|---|---|
84 | 84 |
* @return a Set of required libraries |
85 | 85 |
*/ |
86 | 86 |
public Set getRequireds(); |
87 |
|
|
88 |
/** |
|
89 |
* Returns a priority number to range this implementation |
|
90 |
* in case multiple ones are within the libraries initialization. |
|
87 |
|
|
88 |
/** |
|
89 |
* Returns if a given library is required. |
|
90 |
* |
|
91 |
* @param lib |
|
92 |
* the library to check if it is required |
|
93 |
* @return if is required |
|
94 |
*/ |
|
95 |
public boolean isRequired(Library lib); |
|
96 |
|
|
97 |
/** |
|
98 |
* Returns if a given library class is required. |
|
99 |
* |
|
100 |
* @param libClass |
|
101 |
* the library Class to check if it is required |
|
102 |
* @return if is required |
|
103 |
*/ |
|
104 |
public boolean isRequired(Class libClass); |
|
105 |
|
|
106 |
/** |
|
107 |
* Returns a priority number to range this implementation |
|
108 |
* in case multiple ones are within the libraries initialization. |
|
109 |
* |
|
91 | 110 |
* @return a priority number, 0 by default. |
92 | 111 |
*/ |
93 | 112 |
public int getPriority(); |
Also available in: Unified diff