|
||||||||||
| 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(java.io.File artifact)
Returns true if the listener can process the given artifact. |
void |
configurationEvent(org.osgi.service.cm.ConfigurationEvent configurationEvent)
|
void |
destroy()
|
void |
init()
|
void |
install(java.io.File artifact)
Install the artifact |
void |
uninstall(java.io.File artifact)
Uninstall the artifact |
void |
update(java.io.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(java.io.File artifact)
ArtifactListener
canHandle in interface ArtifactListenerartifact - the artifact to check
true if this listener supports
the given artifact, false otherwise
public void install(java.io.File artifact)
throws java.lang.Exception
ArtifactInstaller
install in interface ArtifactInstallerartifact - the artifact to be installed
java.lang.Exception
public void update(java.io.File artifact)
throws java.lang.Exception
ArtifactInstaller
update in interface ArtifactInstallerartifact - the artifact to be updated
java.lang.Exception
public void uninstall(java.io.File artifact)
throws java.lang.Exception
ArtifactInstaller
uninstall in interface ArtifactInstallerartifact - the artifact to be uninstalled
java.lang.Exceptionpublic void configurationEvent(org.osgi.service.cm.ConfigurationEvent configurationEvent)
configurationEvent in interface org.osgi.service.cm.ConfigurationListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||