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 aPreprocessor
.This class only provides information used at registration time, and as such differs slightly from the corresponding DTO
-
-
Constructor Summary
Constructors Constructor Description PreprocessorInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClassName(org.osgi.service.servlet.whiteboard.Preprocessor preprocessor)
Get the class name of the preprocessorMap<String,String>
getInitParameters()
Returns an immutable map of the init parameters.String
getType()
Get the type represented by this infoboolean
isSame(AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor> other)
Compare two info objects-
Methods 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
-
-
-
-
Method Detail
-
getInitParameters
public Map<String,String> getInitParameters()
Returns an immutable map of the init parameters.
-
getType
@NotNull public String 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
public boolean isSame(AbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor> other)
Description copied from class:AbstractInfo
Compare two info objects- Overrides:
isSame
in classWhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
-
-