Class ServletContextHelperInfo
java.lang.Object
org.apache.felix.http.base.internal.runtime.AbstractInfo<org.osgi.service.servlet.context.ServletContextHelper>
org.apache.felix.http.base.internal.runtime.ServletContextHelperInfo
- All Implemented Interfaces:
Comparable<AbstractInfo<org.osgi.service.servlet.context.ServletContextHelper>>
- Direct Known Subclasses:
DefaultServletContextHelperInfo
public class ServletContextHelperInfo
extends AbstractInfo<org.osgi.service.servlet.context.ServletContextHelper>
Provides registration information for a
ServletContextHelper-
Constructor Summary
ConstructorsConstructorDescriptionServletContextHelperInfo(int serviceRanking, long serviceId, String name, String path, Map<String, String> initParams) ServletContextHelperInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref) -
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable map of the parameters.getName()getPath()@NotNull StringGet the registered service type@NotNull StringgetType()Get the type represented by this infobooleanisSame(AbstractInfo<org.osgi.service.servlet.context.ServletContextHelper> other) Compare two info objectsbooleanisValid()booleanmatch(WhiteboardServiceInfo<?> info) 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
-
ServletContextHelperInfo
public ServletContextHelperInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref) -
ServletContextHelperInfo
-
-
Method Details
-
isValid
public boolean isValid()- Overrides:
isValidin classAbstractInfo<org.osgi.service.servlet.context.ServletContextHelper>
-
getName
-
getPath
-
getInitParameters
Returns an unmodifiable map of the 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.context.ServletContextHelper>- Returns:
- The type
-
getServiceType
Get the registered service type- Returns:
- The type
-
match
-
isSame
Description copied from class:AbstractInfoCompare two info objects- Overrides:
isSamein classAbstractInfo<org.osgi.service.servlet.context.ServletContextHelper>- Parameters:
other- The other info object- Returns:
trueif the objects are the same
-