Package org.apache.felix.webconsole
Interface AttachmentProvider
-
@Deprecated(since="2021-04-30") public interface AttachmentProvider
Deprecated.This has been deprecated. Use the org.apache.felix.status API instead.This is an optional extension of theConfigurationPrinter
. If a configuration printer implements this interface, the printer can add additional attachments to the output of the configuration rendering. Currently this is only supported for the ZIP mode. A service implementing this method must still register itself as aConfigurationPrinter
but not as aAttachmentProvider
service.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.net.URL[]
getAttachments(java.lang.String mode)
Deprecated.Return an array of attachments for the given render mode.
-
-
-
Method Detail
-
getAttachments
java.net.URL[] getAttachments(java.lang.String mode)
Deprecated.Return an array of attachments for the given render mode. The returned list should contain URLs pointing to the attachments for this mode.- Parameters:
mode
- The render mode.- Returns:
- An array of URLs or null.
-
-