|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.osgi.service.exporter.support.AbstractDependentServiceExporter
public abstract class AbstractDependentServiceExporter
Base class for ServiceExporters taking care of service registration and unregistration.
| Constructor Summary | |
|---|---|
AbstractDependentServiceExporter()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
boolean |
isRunning()
Indicates whether this OSGi component is currently running. |
void |
setPublishAtStartup(boolean publish)
Instructs the exporter whether to publish the service at startup or not. |
protected boolean |
shouldPublishAtStartup()
Indicates whether the service publication should happen at startup or not. |
void |
start()
Starts the OSGi lifecycle. |
void |
stop()
Stops the OSGi lifecycle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDependentServiceExporter()
| Method Detail |
|---|
protected boolean shouldPublishAtStartup()
public void setPublishAtStartup(boolean publish)
DependentServiceExporter
setPublishAtStartup in interface DependentServiceExporterpublish - true if the exporter will publish things at startup, false
otherwise
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic boolean isRunning()
DependentServiceExporter
isRunning in interface DependentServiceExporterpublic void start()
DependentServiceExporter
start in interface DependentServiceExporterpublic void stop()
DependentServiceExporter
stop in interface DependentServiceExporter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||