Interface PluginContainer

  • All Superinterfaces:
    ResourceQueryable
    All Known Implementing Classes:
    JVMPluginContainer

    public interface PluginContainer
    extends ResourceQueryable
    Represents the combination of a metadata with its instance.

    For most vendors, this becomes the representation of the concept of a plugin within their ecosystem.

    • Method Detail

      • metadata

        org.spongepowered.plugin.metadata.PluginMetadata metadata()
        Returns:
        The plugin metadata
      • logger

        Logger logger()
        Returns:
        The Logger (typically mapped to PluginMetadata.id())
      • instance

        Object instance()
        Returns:
        The instance