public abstract class AbstractMetadataFactory
extends java.lang.Object
IServiceInfoFactory
.Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
LIST_SEPARATOR |
Constructor and Description |
---|
AbstractMetadataFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected EndpointDescription |
decodeEndpointDescription(IServiceProperties discoveredServiceProperties) |
protected java.util.List<java.lang.String> |
decodeList(IServiceProperties props,
java.lang.String name) |
protected java.lang.Long |
decodeLong(IServiceProperties props,
java.lang.String name) |
protected void |
decodeNonStandardServiceProperties(IServiceProperties props,
java.util.Map<java.lang.String,java.lang.Object> result) |
protected void |
decodeOSGiProperties(IServiceProperties props,
java.util.Map osgiProperties) |
protected java.lang.String |
decodeString(IServiceProperties props,
java.lang.String name) |
protected void |
encodeList(IServiceProperties props,
java.lang.String name,
java.util.List<java.lang.String> list) |
protected void |
encodeLong(IServiceProperties result,
java.lang.String name,
java.lang.Long value) |
protected void |
encodeNonStandardServiceProperties(java.util.Map<java.lang.String,java.lang.Object> properties,
IServiceProperties result) |
protected void |
encodeOSGiServiceProperties(EndpointDescription endpointDescription,
IServiceProperties result) |
protected void |
encodeServiceProperties(EndpointDescription endpointDescription,
IServiceProperties result) |
protected void |
encodeString(IServiceProperties props,
java.lang.String name,
java.lang.String value) |
protected void |
logError(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable t) |
protected void |
logWarning(java.lang.String methodName,
java.lang.String message,
java.lang.Throwable t) |
protected static final java.lang.String LIST_SEPARATOR
protected void encodeString(IServiceProperties props, java.lang.String name, java.lang.String value)
protected java.lang.String decodeString(IServiceProperties props, java.lang.String name)
protected void encodeLong(IServiceProperties result, java.lang.String name, java.lang.Long value)
protected java.lang.Long decodeLong(IServiceProperties props, java.lang.String name)
protected void encodeList(IServiceProperties props, java.lang.String name, java.util.List<java.lang.String> list)
protected java.util.List<java.lang.String> decodeList(IServiceProperties props, java.lang.String name)
protected void decodeOSGiProperties(IServiceProperties props, java.util.Map osgiProperties)
protected EndpointDescription decodeEndpointDescription(IServiceProperties discoveredServiceProperties)
discoveredServiceProperties
- discovered service propertiesprotected void encodeOSGiServiceProperties(EndpointDescription endpointDescription, IServiceProperties result)
endpointDescription
- endpoint description to encoderesult
- service properties to add encoded endpoint description properties toprotected void encodeServiceProperties(EndpointDescription endpointDescription, IServiceProperties result)
endpointDescription
- endpoint description to encoderesult
- service properties to add encoded endpoint description properties toprotected void encodeNonStandardServiceProperties(java.util.Map<java.lang.String,java.lang.Object> properties, IServiceProperties result)
protected void decodeNonStandardServiceProperties(IServiceProperties props, java.util.Map<java.lang.String,java.lang.Object> result)
protected void logWarning(java.lang.String methodName, java.lang.String message, java.lang.Throwable t)
protected void logError(java.lang.String methodName, java.lang.String message, java.lang.Throwable t)
public void close()