|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface ComponentProvider
A service to locate, install and modify "Components". A component is essentially a directory and a set of files attached to a unique string id.
| Method Summary | |
|---|---|
boolean |
addToComponent(java.lang.String componentID,
java.io.File[] components)
Modify an existing component by adding files to it. |
java.io.File[] |
component(java.lang.String componentID)
Grab the current component definition. |
java.io.File |
componentLocation(java.lang.String id)
|
void |
defineComponent(java.lang.String componentID,
java.io.File[] components)
This will define a new component using the files passed in. |
java.io.File |
lockFile()
|
| Method Detail |
|---|
java.io.File componentLocation(java.lang.String id)
id - The component's id string.
java.io.File[] component(java.lang.String componentID)
componentID - The component's id string.
void defineComponent(java.lang.String componentID,
java.io.File[] components)
componentID - The component's id stringcomponents - The set of files which defines the component.
BootException - if the component is already defined.
boolean addToComponent(java.lang.String componentID,
java.io.File[] components)
componentID - The component's id stringcomponents - The set of new files to add to the component.
java.io.File lockFile()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||