Package ddf.ldap.ldaplogin
Class PropertiesConverter
java.lang.Object
ddf.ldap.ldaplogin.PropertiesConverter
- All Implemented Interfaces:
org.osgi.service.blueprint.container.Converter
public class PropertiesConverter
extends Object
implements org.osgi.service.blueprint.container.Converter
Custom converter to transform a string into a Properties instance. (to avoid removing \ from the
values as is done by the default blueprint converter)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Object from, org.osgi.service.blueprint.container.ReifiedType type)
-
Constructor Details
-
PropertiesConverter
public PropertiesConverter()
-
-
Method Details
-
canConvert
- Specified by:
canConvertin interfaceorg.osgi.service.blueprint.container.Converter
-
convert
public Object convert(Object from, org.osgi.service.blueprint.container.ReifiedType type) throws Exception - Specified by:
convertin interfaceorg.osgi.service.blueprint.container.Converter- Throws:
Exception
-