Package org.codice.felix.cm.file
Class FactoryPidParser
java.lang.Object
org.codice.felix.cm.file.FactoryPidParser
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseFactoryParts(String pid) Attempt to parse a service PID into a factory PID and a service name, following the conventions used by Felix's ConfigurationAdmin.
-
Constructor Details
-
FactoryPidParser
public FactoryPidParser()
-
-
Method Details
-
parseFactoryParts
Attempt to parse a service PID into a factory PID and a service name, following the conventions used by Felix's ConfigurationAdmin.- Parameters:
pid- the service PID to parse- Returns:
- an Optional containing the parsed parts, if the PID is a factory PID. If the PID is not a factory PID, then an empty Optional is returned.
-