Package org.restlet.ext.osgi
Interface ResourceProvider
-
- All Superinterfaces:
RestletProvider
- All Known Implementing Classes:
BaseResourceProvider
public interface ResourceProvider extends RestletProvider
This is an OSGi service interface for registering Restlet resources with an application. Users are expected to register an instance as an OSGi service. It is recommended that you extend theBaseResourceProvider
implementation. You may provide your own implementation ofResourceProvider
if you need complete control. Resources are registered with an application according to the application alias. If an application is not found that corresponds to the specified alias, the resource will be cached until the application is registered. If your resources are not being registered, check there is not a typo in the alias in both the resource provider and application provider. It is recommended that you use or extendResourceBuilder
- Author:
- Bryan Hunt, Wolfgang Werner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMatchingMode()
java.lang.String[]
getPaths()
-
Methods inherited from interface org.restlet.ext.osgi.RestletProvider
getInboundRoot
-
-