public static final class WebComponentExporter.WebComponentConfigurationFactory extends Object implements Serializable
WebComponentConfiguration
instances from either
WebComponentExporter
classes or instances.Constructor and Description |
---|
WebComponentConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
WebComponentConfiguration<? extends Component> |
create(Class<? extends WebComponentExporter<? extends Component>> clazz)
Creates a
WebComponentConfiguration from the provided
WebComponentExporter class. |
WebComponentConfiguration<? extends Component> |
create(WebComponentExporter<? extends Component> exporter)
Creates a
WebComponentConfiguration for the provided
WebComponentExporter instances. |
public WebComponentConfiguration<? extends Component> create(Class<? extends WebComponentExporter<? extends Component>> clazz)
WebComponentConfiguration
from the provided
WebComponentExporter
class.clazz
- exporter class, not null
clazz
NullPointerException
- when clazz
is null
public WebComponentConfiguration<? extends Component> create(WebComponentExporter<? extends Component> exporter)
WebComponentConfiguration
for the provided
WebComponentExporter
instances.exporter
- exporter instance, not null
exporter
NullPointerException
- when exporter
is null
Copyright © 2020. All rights reserved.