public interface ConnectorFactory
Modifier and Type | Method and Description |
---|---|
static ConnectorFactory |
loadConnectorFactory()
This method is a convenience method to retrieve an implementation of this service interface using the java
service loader.
|
default Connector |
newConnector()
This method creates a new connector configured by with default configuration properties.
|
Connector |
newConnector(Map<String,String> properties)
This method creates a new connector configured by the given configuration properties.
|
default Connector |
newConnector(Properties properties)
This method creates a new connector configured by the given configuration properties.
|
Connector newConnector(Map<String,String> properties)
properties
- the configuration properties.default Connector newConnector()
default Connector newConnector(Properties properties)
properties
- the configuration properties.static ConnectorFactory loadConnectorFactory()
IllegalStateException
- when no implementation of the service interface is present in the classpathCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.