Package com.djrapitops.plan
Class VelocityInjectable
java.lang.Object
com.djrapitops.plan.VelocityInjectable
- All Implemented Interfaces:
io.github.slimjar.injector.loader.Injectable
public class VelocityInjectable
extends Object
implements io.github.slimjar.injector.loader.Injectable
Custom
Injectable
implementation for Velocity.
Appends dependencies to the classpath via Velocity's internal methods.-
Constructor Summary
ConstructorDescriptionVelocityInjectable(PlanPlugin plugin, com.velocitypowered.api.proxy.ProxyServer proxyServer, net.playeranalytics.plugin.server.PluginLogger logger)
-
Method Summary
-
Constructor Details
-
VelocityInjectable
public VelocityInjectable(PlanPlugin plugin, com.velocitypowered.api.proxy.ProxyServer proxyServer, net.playeranalytics.plugin.server.PluginLogger logger)
-
-
Method Details
-
inject
public void inject(URL url) throws IOException, InvocationTargetException, IllegalAccessException, URISyntaxException- Specified by:
inject
in interfaceio.github.slimjar.injector.loader.Injectable
- Throws:
IOException
InvocationTargetException
IllegalAccessException
URISyntaxException
-