Class ResourceInfo
- java.lang.Object
-
- org.apache.felix.http.base.internal.runtime.AbstractInfo<T>
-
- org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo<Object>
-
- org.apache.felix.http.base.internal.runtime.ResourceInfo
-
- All Implemented Interfaces:
Comparable<AbstractInfo<Object>>
public final class ResourceInfo extends WhiteboardServiceInfo<Object>
Info object for a resource registration
-
-
Constructor Summary
Constructors Constructor Description ResourceInfo(org.osgi.framework.ServiceReference<Object> ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getPatterns()
String
getPrefix()
ServletInfo
getServletInfo()
String
getType()
Get the type represented by this infoboolean
isSame(AbstractInfo<Object> other)
Compare two info objectsboolean
isValid()
-
Methods inherited from class org.apache.felix.http.base.internal.runtime.WhiteboardServiceInfo
getContextSelection, getContextSelectionFilter
-
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 Detail
-
ResourceInfo
public ResourceInfo(org.osgi.framework.ServiceReference<Object> ref)
-
-
Method Detail
-
isValid
public boolean isValid()
- Overrides:
isValid
in classWhiteboardServiceInfo<Object>
-
getPrefix
public String getPrefix()
-
getPatterns
public String[] getPatterns()
-
getServletInfo
public ServletInfo getServletInfo()
-
getType
@NotNull public String getType()
Description copied from class:AbstractInfo
Get the type represented by this info- Specified by:
getType
in classAbstractInfo<Object>
- Returns:
- The type
-
isSame
public boolean isSame(AbstractInfo<Object> other)
Description copied from class:AbstractInfo
Compare two info objects- Overrides:
isSame
in classWhiteboardServiceInfo<Object>
-
-