|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.fileinstall.internal.ConfigInstaller
public class ConfigInstaller
ArtifactInstaller for configurations. TODO: This service lifecycle should be bound to the ConfigurationAdmin service lifecycle.
Method Summary | |
---|---|
boolean |
canHandle(File artifact)
Returns true if the listener can process the given artifact. |
void |
configurationEvent(ConfigurationEvent configurationEvent)
Receives notification of a Configuration that has changed. |
void |
destroy()
|
void |
init()
|
void |
install(File artifact)
Install the artifact |
void |
uninstall(File artifact)
Uninstall the artifact |
void |
update(File artifact)
Update the artifact |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void init()
public void destroy()
public boolean canHandle(File artifact)
ArtifactListener
canHandle
in interface ArtifactListener
artifact
- the artifact to check
true
if this listener supports
the given artifact, false
otherwisepublic void install(File artifact) throws Exception
ArtifactInstaller
install
in interface ArtifactInstaller
artifact
- the artifact to be installed
Exception
public void update(File artifact) throws Exception
ArtifactInstaller
update
in interface ArtifactInstaller
artifact
- the artifact to be updated
Exception
public void uninstall(File artifact) throws Exception
ArtifactInstaller
uninstall
in interface ArtifactInstaller
artifact
- the artifact to be uninstalled
Exception
public void configurationEvent(ConfigurationEvent configurationEvent)
ConfigurationListener
configurationEvent
in interface ConfigurationListener
configurationEvent
- The ConfigurationEvent
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |