Class ManagedCreateTransport
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<org.apache.directory.server.annotations.CreateTransport>
org.jboss.as.test.integration.security.common.ManagedCreateTransport
- All Implemented Interfaces:
Annotation
public class ManagedCreateTransport
extends jakarta.enterprise.util.AnnotationLiteral<org.apache.directory.server.annotations.CreateTransport>
implements org.apache.directory.server.annotations.CreateTransport
A helper implementation of
CreateTransport annotation which allows to configure values.- Author:
- Josef Cacek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionManagedCreateTransport(org.apache.directory.server.annotations.CreateTransport original) Create a new ManagedCreateTransport. -
Method Summary
Modifier and TypeMethodDescriptionaddress()intbacklog()booleanintintport()protocol()voidsetAddress(String address) Set the address.voidsetBacklog(int backlog) Set the backlog.voidsetClientAuth(boolean clientAuth) voidsetNbThreads(int nbThreads) Set the nbThreads.voidsetPort(int port) Set the port.voidsetProtocol(String protocol) Set the protocol.voidsetSsl(boolean ssl) Set the ssl.voidsetType(org.apache.directory.server.annotations.TransportType type) Set the type.booleanssl()org.apache.directory.server.annotations.TransportTypetype()Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Constructor Details
-
ManagedCreateTransport
public ManagedCreateTransport(org.apache.directory.server.annotations.CreateTransport original) Create a new ManagedCreateTransport.- Parameters:
createLdapServer-
-
-
Method Details
-
protocol
- Returns:
- See Also:
-
CreateTransport.protocol()
-
type
public org.apache.directory.server.annotations.TransportType type()- Returns:
- See Also:
-
CreateTransport.type()
-
port
public int port()- Returns:
- See Also:
-
CreateTransport.port()
-
address
- Returns:
- See Also:
-
CreateTransport.address()
-
backlog
public int backlog()- Returns:
- See Also:
-
CreateTransport.backlog()
-
ssl
public boolean ssl()- Returns:
- See Also:
-
CreateTransport.ssl()
-
nbThreads
public int nbThreads()- Returns:
- See Also:
-
CreateTransport.nbThreads()
-
clientAuth
public boolean clientAuth() -
setProtocol
Set the protocol.- Parameters:
protocol- The protocol to set.
-
setType
public void setType(org.apache.directory.server.annotations.TransportType type) Set the type.- Parameters:
type- The type to set.
-
setPort
public void setPort(int port) Set the port.- Parameters:
port- The port to set.
-
setAddress
Set the address.- Parameters:
address- The address to set.
-
setBacklog
public void setBacklog(int backlog) Set the backlog.- Parameters:
backlog- The backlog to set.
-
setSsl
public void setSsl(boolean ssl) Set the ssl.- Parameters:
ssl- The ssl to set.
-
setNbThreads
public void setNbThreads(int nbThreads) Set the nbThreads.- Parameters:
nbThreads- The nbThreads to set.
-
setClientAuth
public void setClientAuth(boolean clientAuth)
-