org.apache.directory.server.annotations
Annotation Type CreateTransport


@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
public @interface CreateTransport

A annotation used to specify an sequence of LDIF's to be applied to the instance for integration testing.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Required Element Summary
 java.lang.String protocol
          The name for this protocol
 
Optional Element Summary
 java.lang.String address
          The InetAddress for this transport.
 int backlog
          The backlog.
 int nbThreads
          The number of threads to use.
 int port
          The port to use, default to a bad value so that we know we have to pick one random available port
 boolean ssl
          A flag to tell if the transport is SSL based.
 TransportType type
          The transport type (TCP or UDP) Default to TCP
 

Element Detail

protocol

public abstract java.lang.String protocol
The name for this protocol

type

public abstract TransportType type
The transport type (TCP or UDP) Default to TCP

Default:
org.apache.directory.server.annotations.TransportType.TCP

port

public abstract int port
The port to use, default to a bad value so that we know we have to pick one random available port

Default:
-1

address

public abstract java.lang.String address
The InetAddress for this transport. Default to localhost

Default:
"localhost"

backlog

public abstract int backlog
The backlog. Default to 50

Default:
50

ssl

public abstract boolean ssl
A flag to tell if the transport is SSL based. Default to false

Default:
false

nbThreads

public abstract int nbThreads
The number of threads to use. Default to 3

Default:
3


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.