Interface Rest2ldapEndpointCfg
-
- All Superinterfaces:
Configuration,HTTPEndpointCfg
public interface Rest2ldapEndpointCfg extends HTTPEndpointCfg
A server-side interface for querying Rest2ldap Endpoint settings.The Rest2ldap Endpoint provides RESTful access to LDAP application data using a set of customizable data transformations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddRest2ldapEndpointChangeListener(ConfigurationChangeListener<Rest2ldapEndpointCfg> listener)Register to be notified when this Rest2ldap Endpoint is changed.Class<? extends Rest2ldapEndpointCfg>configurationClass()Gets the configuration class associated with this Rest2ldap Endpoint.StringgetConfigDirectory()Gets the "config-directory" property.StringgetJavaClass()Gets the "java-class" property.voidremoveRest2ldapEndpointChangeListener(ConfigurationChangeListener<Rest2ldapEndpointCfg> listener)Deregister an existing Rest2ldap Endpoint configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.HTTPEndpointCfg
addChangeListener, getAuthorizationMechanism, getAuthorizationMechanismDNs, getBasePath, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends Rest2ldapEndpointCfg> configurationClass()
Gets the configuration class associated with this Rest2ldap Endpoint.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceHTTPEndpointCfg- Returns:
- Returns the configuration class associated with this Rest2ldap Endpoint.
-
addRest2ldapEndpointChangeListener
void addRest2ldapEndpointChangeListener(ConfigurationChangeListener<Rest2ldapEndpointCfg> listener)
Register to be notified when this Rest2ldap Endpoint is changed.- Parameters:
listener- The Rest2ldap Endpoint configuration change listener.
-
removeRest2ldapEndpointChangeListener
void removeRest2ldapEndpointChangeListener(ConfigurationChangeListener<Rest2ldapEndpointCfg> listener)
Deregister an existing Rest2ldap Endpoint configuration change listener.- Parameters:
listener- The Rest2ldap Endpoint configuration change listener.
-
getConfigDirectory
String getConfigDirectory()
Gets the "config-directory" property.The directory containing the Rest2Ldap configuration file(s) for this specific endpoint.
The directory must be readable by the server and may contain multiple configuration files, one for each supported version of the REST endpoint. If a relative path is used then it will be resolved against the server's instance directory.
- Returns:
- Returns the value of the "config-directory" property.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Rest2ldap Endpoint implementation.
- Specified by:
getJavaClassin interfaceHTTPEndpointCfg- Returns:
- Returns the value of the "java-class" property.
-
-