|
||||||||||
| 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 org.apache.directory.server.ldap.replication.consumer.ReplicationConsumer |
createConsumer()
creates an LdapServer and starts before returning the instance, infering the configuration from the Stack trace |
static org.apache.directory.server.ldap.LdapServer |
createLdapServer(org.junit.runner.Description description,
org.apache.directory.server.core.api.DirectoryService directoryService)
Create a new instance of LdapServer |
static org.apache.directory.server.kerberos.kdc.KdcServer |
getKdcServer(org.junit.runner.Description description,
org.apache.directory.server.core.api.DirectoryService directoryService,
int startPort)
|
static org.apache.directory.server.kerberos.kdc.KdcServer |
getKdcServer(org.apache.directory.server.core.api.DirectoryService directoryService,
int startPort)
|
static org.apache.directory.server.ldap.LdapServer |
getLdapServer(org.apache.directory.server.core.api.DirectoryService directoryService)
Returns an LdapServer instance and starts it before returning the instance, infering the configuration from the Stack trace |
static org.apache.directory.server.ldap.LdapServer |
instantiateLdapServer(CreateLdapServer createLdapServer,
org.apache.directory.server.core.api.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 org.apache.directory.server.ldap.LdapServer instantiateLdapServer(CreateLdapServer createLdapServer,
org.apache.directory.server.core.api.DirectoryService directoryService)
LdapServer without starting it.
For getting a running LdapServer instance see createLdapServer(CreateLdapServer, DirectoryService)
createLdapServer(CreateLdapServer, DirectoryService)
public static org.apache.directory.server.ldap.LdapServer getLdapServer(org.apache.directory.server.core.api.DirectoryService directoryService)
throws ClassNotFoundException
ClassNotFoundException
public static org.apache.directory.server.ldap.replication.consumer.ReplicationConsumer createConsumer()
throws ClassNotFoundException
ClassNotFoundException
public static org.apache.directory.server.ldap.LdapServer createLdapServer(org.junit.runner.Description description,
org.apache.directory.server.core.api.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 org.apache.directory.server.kerberos.kdc.KdcServer getKdcServer(org.apache.directory.server.core.api.DirectoryService directoryService,
int startPort)
throws Exception
Exception
public static org.apache.directory.server.kerberos.kdc.KdcServer getKdcServer(org.junit.runner.Description description,
org.apache.directory.server.core.api.DirectoryService directoryService,
int startPort)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||