Class AdDirSyncContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.extras.controls.ad_impl.AdDirSyncContainer
-
- All Implemented Interfaces:
Asn1Container
public class AdDirSyncContainer extends AbstractContainer
ASN.1 container for AD DirSync control.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description AdDirSyncContainer(LdapApiService codec)
Creates a new AdDirSyncControl Container object.AdDirSyncContainer(LdapApiService codec, AdDirSync control)
Creates a new AdDirSyncControl object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
clean the containerAdDirSync
getAdDirSyncControl()
LdapApiService
getCodecService()
void
setAdDirSyncControl(AdDirSync control)
Set a AdDirSyncControlCodec Object into the container.-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
-
-
-
Constructor Detail
-
AdDirSyncContainer
public AdDirSyncContainer(LdapApiService codec)
Creates a new AdDirSyncControl Container object.- Parameters:
codec
- The LDAP Service to use
-
AdDirSyncContainer
public AdDirSyncContainer(LdapApiService codec, AdDirSync control)
Creates a new AdDirSyncControl object.- Parameters:
codec
- The LDAP Service to usecontrol
- The AdDirSync control to decorate
-
-
Method Detail
-
getAdDirSyncControl
public AdDirSync getAdDirSyncControl()
- Returns:
- the AdDirSyncControlCodec object
-
setAdDirSyncControl
public void setAdDirSyncControl(AdDirSync control)
Set a AdDirSyncControlCodec Object into the container. It will be completed by the ldapDecoder.- Parameters:
control
- the AdDirSyncControlCodec to set.
-
getCodecService
public LdapApiService getCodecService()
- Returns:
- The LdapAPi service instance
-
clean
public void clean()
clean the container- Overrides:
clean
in classAbstractContainer
-
-