
com.bytex.snamp.gateway.groovy.impl.GroovyGatewayActivator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of groovy Show documentation
Show all versions of groovy Show documentation
Groovy-based scripting engine for writing custom gateways
The newest version!
package com.bytex.snamp.gateway.groovy.impl;
import com.bytex.snamp.SpecialUse;
import com.bytex.snamp.gateway.GatewayActivator;
/**
* @author Roman Sakno
* @version 2.0
* @since 1.0
*/
public final class GroovyGatewayActivator extends GatewayActivator {
@SpecialUse(SpecialUse.Case.OSGi)
public GroovyGatewayActivator(){
super(GroovyGatewayActivator::newGateway, configurationDescriptor(GroovyGatewayConfigurationProvider::new));
}
private static GroovyGateway newGateway(final String instanceName,
final DependencyManager dependencies){
return new GroovyGateway(instanceName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy