Restlet Framework 2.2.2
OSGi Environments

org.restlet.ext.osgi
Interface DirectoryProvider

All Superinterfaces:
RestletProvider
All Known Implementing Classes:
BaseDirectoryProvider

public interface DirectoryProvider
extends RestletProvider

This is an OSGi service interface for registering Restlet directories with a router. Users are expected to register an instance as an OSGi service. It is recommended that you use the BaseDirectoryProvider implementation. You may extend it if necessary, or for complete control, provide your own implementation of DirectoryProvider.

Author:
Bryan Hunt

Method Summary
 String getPath()
           
 
Methods inherited from interface org.restlet.ext.osgi.RestletProvider
getInboundRoot
 

Method Detail

getPath

String getPath()
Returns:
the fully qualified path of the directory

Restlet Framework 2.2.2
OSGi Environments

Copyright © 2005-2014 Restlet.