Class BuildServicesResolver
java.lang.Object
jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
An internal helper to resolve
BuildServices
implementations.
This class is public only for integrators and should not be used by applications.- Since:
- 4.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setBuildServices
(BuildServices instance) This method should not be used by applications.
-
Constructor Details
-
BuildServicesResolver
public BuildServicesResolver()
-
-
Method Details
-
setBuildServices
This method should not be used by applications. It is only exposed for integrators with complex classloading architectures, where service loader lookup doesn't work out of the box. With this method, an integrator may manually provide an instance ofBuildServices
and this class will no longer attempt to look it up using service loader.- Parameters:
instance
- aBuildServices
instance that should be used, must not benull
- Throws:
IllegalArgumentException
- if the provided argument is null
-