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
ConstructorsConstructorDescriptionPreprocessorInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringgetClassName(@NotNull org.osgi.service.servlet.whiteboard.Preprocessor preprocessor) Get the class name of the preprocessorReturns an immutable map of the init parameters.@NotNull StringgetType()Get the type represented by this infobooleanisSame(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, isValidMethods 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.- Returns:
- The init parameters
-
getType
Description copied from class:AbstractInfoGet the type represented by this info- Specified by:
getTypein classAbstractInfo<org.osgi.service.servlet.whiteboard.Preprocessor>- Returns:
- The type
-
getClassName
@NotNull public @NotNull String getClassName(@NotNull @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:AbstractInfoCompare two info objects- Overrides:
isSamein classWhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>- Parameters:
other- The other info object- Returns:
trueif the objects are the same
-