Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] [osgi] How to disable scanning in OSGiAppProvider

try ... OSGiAppProvider.setScanInterval(0);

Joakim Erdfelt <joakim@xxxxxxxxxxx>
Developer advice, services and support
from the Jetty & CometD experts.

On Wed, Sep 19, 2012 at 9:25 AM, Dan Gravell <elstensoftware@xxxxxxxxxxxxxx> wrote:
At the moment, it looks like you have to configure an OSGiAppProvider in a Jetty configuration file.

However, this class extends ScanningAppProvider, which scans a directory for changes and attempts to pick up new WARs etc.

How do I disable this scanning? It doesn't go down well with people who want their machine to hibernate etc...

Am I left to supplying Integer.MAX_VALUE as the argument?


jetty-users mailing list

Back to the top