Interface ResourceRegistrationFilter

All Superinterfaces:
Comparable<ResourceRegistrationFilter>

@SupportedAll public interface ResourceRegistrationFilter extends Comparable<ResourceRegistrationFilter>
Extension filter that will be called before and after resource sets are registered.

Implementations of this interface can use the Guice setter based injection.

Since:
13.0.0
  • Method Details

    • beforeResourceRegistration

      void beforeResourceRegistration(ResourceSetDescription resourceSet)
      Invoked before a resource set is registered in the backend.

      Changes made to the resourceSet object will be persisted.

      Parameters:
      resourceSet - The resource set that will be registered.
    • afterResourceRegistration

      void afterResourceRegistration(ResourceSetDescription resourceSet)
      Invoked after a resource set is registered in the backend.

      Changes made to the resourceSet object will not be persisted.

      Parameters:
      resourceSet - The resource set that was registered.