Interface EmbeddedLdapServerContainer
-
- All Known Implementing Classes:
ApacheDSContainer,UnboundIdContainer
public interface EmbeddedLdapServerContainerProvides lifecycle services for an embedded LDAP server.- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPort()Returns the embedded LDAP server port.voidsetPort(int port)The embedded LDAP server port to connect to.
-
-
-
Method Detail
-
getPort
int getPort()
Returns the embedded LDAP server port.- Returns:
- the embedded LDAP server port
-
setPort
void setPort(int port)
The embedded LDAP server port to connect to. Supplying 0 as the port indicates that a random available port should be selected.- Parameters:
port- the port to connect to
-
-