Class SupplierExporter
- java.lang.Object
-
- org.springframework.cloud.function.web.source.SupplierExporter
-
- All Implemented Interfaces:
org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
public class SupplierExporter extends Object implements org.springframework.context.SmartLifecycle
Forwards items obtained from aSupplieror set of suppliers to an external HTTP endpoint.- Author:
- Dave Syer, Oleg Zhurakousky
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPhase()booleanisAutoStartup()booleanisOk()booleanisRunning()voidstart()voidstop()voidstop(Runnable callback)
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
isOk
public boolean isOk()
-
stop
public void stop()
- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
public boolean isRunning()
- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-
getPhase
public int getPhase()
- Specified by:
getPhasein interfaceorg.springframework.context.Phased- Specified by:
getPhasein interfaceorg.springframework.context.SmartLifecycle
-
isAutoStartup
public boolean isAutoStartup()
- Specified by:
isAutoStartupin interfaceorg.springframework.context.SmartLifecycle
-
stop
public void stop(Runnable callback)
- Specified by:
stopin interfaceorg.springframework.context.SmartLifecycle
-
-