public class InstallListener extends Object implements InstallationListener
InstallationListener
s.Constructor and Description |
---|
InstallListener(org.osgi.framework.BundleContext context,
org.slf4j.Logger logger)
Start service tracker.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Stop service tracker.
|
void |
onEvent(InstallationEvent event)
Receive an installation event.
|
void |
start()
Send started event.
|
void |
suspend()
Send suspended event.
|
public InstallListener(org.osgi.framework.BundleContext context, org.slf4j.Logger logger)
public void dispose()
public void onEvent(InstallationEvent event)
InstallationListener
onEvent
in interface InstallationListener
InstallationListener.onEvent(org.apache.sling.installer.api.event.InstallationEvent)
public void start()
public void suspend()
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.