## Uses of Class
org.apache.solr.rest.ManagedResource

- Packages that use ManagedResource
  Package | Description
  --- | ---
  org.apache.solr.rest | Solr RESTful APIs via Restlet.
  org.apache.solr.rest.schema.analysis | Analysis-related functionality for RESTful API access to the Solr Schema using Restlet.

- - ### Uses of ManagedResource in org.apache.solr.rest

    Fields in org.apache.solr.rest declared as ManagedResource
    Modifier and Type | Field and Description
    --- | ---
    `protected ManagedResource` | RestManager.ManagedEndpoint.`managedResource`

    Fields in org.apache.solr.rest with type parameters of type ManagedResource
    Modifier and Type | Field and Description
    --- | ---
    `protected Map<String,ManagedResource>` | RestManager.`managed`

    Methods in org.apache.solr.rest that return ManagedResource
    Modifier and Type | Method and Description
    --- | ---
    `ManagedResource` | RestManager.`addManagedResource(String resourceId, Class<? extends ManagedResource> clazz)` If not already registered, registers the given `ManagedResource` subclass at the given resourceId, creates an instance, and attaches it to the appropriate Restlet router.
    `protected ManagedResource` | RestManager.`createManagedResource(org.apache.solr.rest.RestManager.ManagedResourceRegistration reg)` Creates a ManagedResource using registration information.
    `ManagedResource` | RestManager.`getManagedResource(String resourceId)` Returns the `ManagedResource` subclass instance corresponding to the given resourceId from the registry.
    `ManagedResource` | RestManager.`getManagedResourceOrNull(String resourceId)` Returns the `ManagedResource` subclass instance corresponding to the given resourceId from the registry, or null if no resource has been registered with the given resourceId.

    Methods in org.apache.solr.rest with parameters of type ManagedResource
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RestManager.`attachManagedResource(ManagedResource res, String path, org.restlet.routing.Router router)` Attaches a ManagedResource and optionally a path for child resources to the given Restlet Router.
    `void` | RestManager.`deleteManagedResource(ManagedResource res)` Deletes a managed resource if it is not being used by any Solr components.
    `void` | ManagedResourceObserver.`onManagedResourceInitialized(NamedList<?> args, ManagedResource res)` Event notification raised once during core initialization to notify listeners that a ManagedResource is fully initialized.

    Method parameters in org.apache.solr.rest with type arguments of type ManagedResource
    Modifier and Type | Method and Description
    --- | ---
    `ManagedResource` | RestManager.`addManagedResource(String resourceId, Class<? extends ManagedResource> clazz)` If not already registered, registers the given `ManagedResource` subclass at the given resourceId, creates an instance, and attaches it to the appropriate Restlet router.
    `void` | RestManager.Registry.`registerManagedResource(String resourceId, Class<? extends ManagedResource> implClass, ManagedResourceObserver observer)` Register the need to use a ManagedResource; this method is typically called by a Solr component during core initialization to register itself as an observer of a specific type of ManagedResource.

  - ### Uses of ManagedResource in org.apache.solr.rest.schema.analysis

    Subclasses of ManagedResource in org.apache.solr.rest.schema.analysis
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ManagedSynonymFilterFactory.SynonymManager` ManagedResource implementation for synonyms, which are so specialized that it makes sense to implement this class as an inner class as it has little application outside the SynonymFilterFactory use cases.
    `class` | `ManagedWordSetResource` ManagedResource implementation for managing a set of words using the REST API; useful for managing stop words and/or protected words for analysis components like the KeywordMarkerFilter.

    Methods in org.apache.solr.rest.schema.analysis that return types with arguments of type ManagedResource
    Modifier and Type | Method and Description
    --- | ---
    `protected Class<? extends ManagedResource>` | ManagedSynonymFilterFactory.`getManagedResourceImplClass()`
    `protected Class<? extends ManagedResource>` | ManagedStopFilterFactory.`getManagedResourceImplClass()` Returns the implementation class for managing stop words.
    `protected abstract Class<? extends ManagedResource>` | BaseManagedTokenFilterFactory.`getManagedResourceImplClass()` Let the concrete analysis component determine the ManagedResource implementation.

    Methods in org.apache.solr.rest.schema.analysis with parameters of type ManagedResource
    Modifier and Type | Method and Description
    --- | ---
    `void` | ManagedSynonymFilterFactory.`onManagedResourceInitialized(NamedList<?> initArgs, ManagedResource res)` Called once, during core initialization, to initialize any analysis components that depend on the data managed by this resource.
    `void` | ManagedStopFilterFactory.`onManagedResourceInitialized(NamedList<?> args, ManagedResource res)` Callback invoked by the `ManagedResource` instance to trigger this class to create the CharArraySet used to create the StopFilter using the wordset managed by `ManagedWordSetResource`.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.