Package org.apache.camel.impl.engine
Class DefaultServiceBootstrapCloseable
java.lang.Object
org.apache.camel.impl.engine.DefaultServiceBootstrapCloseable
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.camel.spi.BootstrapCloseable
public class DefaultServiceBootstrapCloseable
extends Object
implements org.apache.camel.spi.BootstrapCloseable
Default
BootstrapCloseable
which will collect all registered Service
which is
BootstrapCloseable
and run their task and remove the service from CamelContext
.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultServiceBootstrapCloseable
(org.apache.camel.CamelContext camelContext) -
Method Summary
-
Constructor Details
-
DefaultServiceBootstrapCloseable
public DefaultServiceBootstrapCloseable(org.apache.camel.CamelContext camelContext)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-