Class Registration
java.lang.Object
net.ssehub.easy.instantiation.python.Registration
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IRegistration
public class Registration
extends Object
implements net.ssehub.easy.instantiation.core.model.vilTypes.IRegistration
Registers the Python additions to VIL.
- Author:
- Kevin Schaperjahn
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.service.component.ComponentContext context) OSGi method to activate plugin.protected voiddeactivate(org.osgi.service.component.ComponentContext context) OSGi method to to de-activate plugin.static final voidregister()Registers the Python artifacts and instantiators (without component context).
-
Field Details
-
registered
private static boolean registered
-
-
Constructor Details
-
Registration
public Registration()
-
-
Method Details
-
register
public static final void register()Registers the Python artifacts and instantiators (without component context). -
activate
protected void activate(org.osgi.service.component.ComponentContext context) OSGi method to activate plugin.- Parameters:
context- the component context.
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext context) OSGi method to to de-activate plugin.- Parameters:
context- the component context.
-