Class PreprocessorInfo
java.lang.Object
org.apache.felix.http.base.internal.runtime.AbstractInfo<T>
org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
org.apache.felix.http.base.internal.runtime.PreprocessorInfo
- All Implemented Interfaces:
Comparable<AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor>>
public class PreprocessorInfo
extends WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
Provides registration information for a
Preprocessor
.
This class only provides information used at registration time, and as such differs slightly from the corresponding DTO
-
Constructor Summary
ConstructorDescriptionPreprocessorInfo
(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref) -
Method Summary
Modifier and TypeMethodDescriptiongetClassName
(org.osgi.service.servlet.whiteboard.Preprocessor preprocessor) Get the class name of the preprocessorReturns an immutable map of the init parameters.getType()
Get the type represented by this infoboolean
isSame
(AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor> other) Compare two info objectsMethods inherited from class org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo
getContextSelection, getContextSelectionFilter, isValid
Methods inherited from class org.apache.felix.http.base.internal.runtime.AbstractInfo
compareTo, equals, getBooleanProperty, getInitParams, getRanking, getService, getServiceId, getServiceReference, getStringArrayProperty, getStringProperty, getTarget, hashCode, isEmpty, isEmpty, ungetService
-
Constructor Details
-
PreprocessorInfo
public PreprocessorInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref)
-
-
Method Details
-
getInitParameters
Returns an immutable map of the init parameters. -
getType
Description copied from class:AbstractInfo
Get the type represented by this info- Specified by:
getType
in classAbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
- Returns:
- The type
-
getClassName
@NotNull public String getClassName(@NotNull org.osgi.service.servlet.whiteboard.Preprocessor preprocessor) Get the class name of the preprocessor- Parameters:
preprocessor
- The preprocesor- Returns:
- The class name
-
isSame
Description copied from class:AbstractInfo
Compare two info objects- Overrides:
isSame
in classWhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
-