Class AbstractService
java.lang.Object
org.apache.camel.test.infra.common.services.AbstractService
- All Implemented Interfaces:
AutoCloseable,InfrastructureService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform any initialization necessaryprotected abstract voidregisterProperties(BiConsumer<String, String> store) protected abstract voidsetUp()Deprecated.voidshutdown()Shuts down the service after the test has completedprotected abstract voidtearDown()Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.test.infra.common.services.InfrastructureService
close, registerProperties
-
Constructor Details
-
AbstractService
public AbstractService()
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:InfrastructureServicePerform any initialization necessary- Specified by:
initializein interfaceInfrastructureService
-
shutdown
public void shutdown()Description copied from interface:InfrastructureServiceShuts down the service after the test has completed- Specified by:
shutdownin interfaceInfrastructureService
-
registerProperties
-
setUp
Deprecated.- Throws:
Exception
-
tearDown
Deprecated.- Throws:
Exception
-