Package net.officefloor.test
Interface TestDependencyService
- All Known Implementing Classes:
H2ResetTestDependencyService,ObjectTestDependencyService
public interface TestDependencyService
Service providing additional test dependencies.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptiongetObject(TestDependencyServiceContext context) Obtains the dependency object.booleanIndicates if able to provide object.
-
Method Details
-
isObjectAvailable
Indicates if able to provide object.- Parameters:
context-TestDependencyServiceContext.- Returns:
trueif able to provide object.
-
getObject
Obtains the dependency object.- Parameters:
context-TestDependencyServiceContext.- Returns:
- Object.
- Throws:
UnknownObjectException- If unknown bound object name.Throwable- If failure in obtaining the bound object.
-