|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.factory.ServerAnnotationProcessor
public class ServerAnnotationProcessor
Annotation processor for creating LDAP and Kerberos servers.
| Constructor Summary | |
|---|---|
ServerAnnotationProcessor()
|
|
| Method Summary | |
|---|---|
static LdapServer |
createLdapServer(CreateLdapServer createLdapServer,
DirectoryService directoryService,
int startPort)
creates an LdapServer and starts before returning the instance |
static LdapServer |
createLdapServer(org.junit.runner.Description description,
DirectoryService directoryService,
int startPort)
Create a new instance of LdapServer |
static LdapServer |
createLdapServer(DirectoryService directoryService,
int startPort)
Create a new instance of LdapServer |
static KdcServer |
getKdcServer(org.junit.runner.Description description,
DirectoryService directoryService,
int startPort)
|
static KdcServer |
getKdcServer(DirectoryService directoryService,
int startPort)
|
static LdapServer |
instantiateLdapServer(CreateLdapServer createLdapServer,
DirectoryService directoryService,
int startPort)
Just gives an instance of LdapServer without starting it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerAnnotationProcessor()
| Method Detail |
|---|
public static LdapServer instantiateLdapServer(CreateLdapServer createLdapServer,
DirectoryService directoryService,
int startPort)
LdapServer without starting it.
For getting a running LdapServer instance see createLdapServer(CreateLdapServer, DirectoryService, int)
createLdapServer(CreateLdapServer, DirectoryService, int)
public static LdapServer createLdapServer(CreateLdapServer createLdapServer,
DirectoryService directoryService,
int startPort)
createLdapServer - the annotation containing the custom configurationdirectoryService - the directory servicestartPort - a port number to start with in order to find any available port for use (if the given port number is already in use)CreateTransport annotation is -1.
public static LdapServer createLdapServer(DirectoryService directoryService,
int startPort)
throws Exception
directoryService - The associated DirectoryServicestartPort - The port used by the server
Exception - If the server cannot be started
public static LdapServer createLdapServer(org.junit.runner.Description description,
DirectoryService directoryService,
int startPort)
throws Exception
description - A description for the created LdapServerdirectoryService - The associated DirectoryServicestartPort - The port used by the server
Exception - If the server cannot be started
public static KdcServer getKdcServer(DirectoryService directoryService,
int startPort)
throws Exception
Exception
public static KdcServer getKdcServer(org.junit.runner.Description description,
DirectoryService directoryService,
int startPort)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||