public interface ServiceLoadedFactory<B>
ServiceLoader.load(Class) invocation.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ServiceLoadedFactory.Include
Mark this class with this annotation to include covariant factories.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsParam() |
String |
name() |
B |
newBuilder(Locator locator,
String param)
Constructs the builder, usually passing the build target as a constructor arg to the builder instance.
|
String name()
boolean acceptsParam()
newBuilder(Locator, String) can be called with non-null parameter.B newBuilder(Locator locator, String param)
locator - Locator identifying the place for insertion.param - Custom parameter for inline definition.IllegalArgumentException - if the loader does not expect any parameter and it is not null.Copyright © 2019 JBoss by Red Hat. All rights reserved.