|
||||||||||
| 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 ReplicationConsumer |
createConsumer()
creates an LdapServer and starts before returning the instance, infering the configuration from the Stack trace |
static LdapServer |
createLdapServer(org.junit.runner.Description description,
DirectoryService directoryService)
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 |
getLdapServer(DirectoryService directoryService)
Returns an LdapServer instance and starts it before returning the instance, infering the configuration from the Stack trace |
static LdapServer |
instantiateLdapServer(CreateLdapServer createLdapServer,
DirectoryService directoryService)
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)
LdapServer without starting it.
For getting a running LdapServer instance see createLdapServer(CreateLdapServer, DirectoryService)
createLdapServer(CreateLdapServer, DirectoryService)
public static LdapServer getLdapServer(DirectoryService directoryService)
throws ClassNotFoundException
ClassNotFoundException
public static ReplicationConsumer createConsumer()
throws ClassNotFoundException
ClassNotFoundException
public static LdapServer createLdapServer(org.junit.runner.Description description,
DirectoryService directoryService)
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 | |||||||||