public interface Configuration
Interface for accessing configuration that's normally available/provided using Configuration Admin properties or Meta Type information. If possible, server implementations should access Pax Web properties through methods of this interface, not through general property names in some dictionary.
Splitting original Configuration object into groups should help with
future extensibility.
Actual server implementations should access entire configuration using this interface
without a need to create extra org.ops4j.util.property.PropertyResolver instances.
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
all()
Low level access to all String properties with String values.
|
<T> T |
get(String property,
Class<T> clazz)
Accesses single typed property by name.
|
String |
id()
Get unique identifier of the configuration.
|
JspConfiguration |
jsp()
Accesses JSP related configuration used for Tomcat/Jasper engine configuration
|
LogConfiguration |
logging()
Accesses configuration related to server logging and access logging.
|
ResourceConfiguration |
resources()
Accesses configuration related to "resource handling" (default servlets per resource definition).
|
SecurityConfiguration |
security()
Accesses security related configuration for SSL/TLS, certificates and authentication.
|
ServerConfiguration |
server()
Accesses server-wide configuration that covers listeners, directory locations, ports, etc.
|
SessionConfiguration |
session()
Accesses session related configuration
|
String id()
ServerControllerFactory may create more
server controllers, but only for different
configurations.ServerConfiguration server()
SecurityConfiguration security()
ResourceConfiguration resources()
JspConfiguration jsp()
SessionConfiguration session()
LogConfiguration logging()
<T> T get(String property, Class<T> clazz)
property - Copyright © 2006–2024 OPS4J - Open Participation Software for Java. All rights reserved.