Interface ControlFactory<C extends Control>
-
- Type Parameters:
C
- The Control to create
- All Known Implementing Classes:
AdDirSyncFactory
,AdPolicyHintsFactory
,AdShowDeletedFactory
,CascadeFactory
,ChangeNotificationsFactory
,EntryChangeFactory
,ManageDsaITFactory
,PagedResultsFactory
,PasswordPolicyFactory
,PermissiveModifyFactory
,PersistentSearchFactory
,ProxiedAuthzFactory
,SortRequestFactory
,SortResponseFactory
,SubentriesFactory
,SyncDoneValueFactory
,SyncRequestValueFactory
,SyncStateValueFactory
,TransactionSpecificationFactory
,VirtualListViewRequestFactory
,VirtualListViewResponseFactory
public interface ControlFactory<C extends Control>
Implementors of new codec control extensions must implement a factory using this factory interface, Factory implementations for specific controls are then registered with the codec and used by the codec to encode and decode those controls.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getOid()
CodecControl<C>
newCodecControl()
Creates and returns a decorated version of the Control.CodecControl<C>
newCodecControl(C control)
Decorates an existing control.
-
-
-
Method Detail
-
newCodecControl
CodecControl<C> newCodecControl()
Creates and returns a decorated version of the Control.- Returns:
- The
CodecControl
decorated version of the Control.
-
newCodecControl
CodecControl<C> newCodecControl(C control)
Decorates an existing control. Implementors should check to make sure the supplied Control has not already been decorated to prevent needless decorator nesting.- Parameters:
control
- TheControl
to be decorated.- Returns:
- The decorator wrapping the Control.
-
-