|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 DependentServiceExporter
publish
- true if the exporter will publish things at startup, false
otherwisepublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public boolean isRunning()
DependentServiceExporter
isRunning
in interface DependentServiceExporter
public void start()
DependentServiceExporter
start
in interface DependentServiceExporter
public void stop()
DependentServiceExporter
stop
in interface DependentServiceExporter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |