Importing some code
* Various annotations * New component information class
This commit is contained in:
parent
48466ed511
commit
e2de94eb7b
14 changed files with 826 additions and 0 deletions
src/main/java/info/ebenoit/ebul/cmp
20
src/main/java/info/ebenoit/ebul/cmp/ParametricComponent.java
Normal file
20
src/main/java/info/ebenoit/ebul/cmp/ParametricComponent.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
package info.ebenoit.ebul.cmp;
|
||||
|
||||
|
||||
/**
|
||||
* This interface must be implemented by components which are loaded dynamically depending on configuration (for example
|
||||
* VFS drivers). Note that such components need not be annotated with {@link Component}, and that they never start
|
||||
* automatically.
|
||||
*
|
||||
* @author <a href="mailto:ebenoit@ebenoit.info">E. Benoît</a>
|
||||
*/
|
||||
public interface ParametricComponent
|
||||
{
|
||||
/**
|
||||
* Determine the name of the current instance of this component.
|
||||
*
|
||||
* @return the name of the component
|
||||
*/
|
||||
public String getComponentName( );
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue