Class XVCLInstantiator
- java.lang.Object
-
- net.ssehub.easy.instantiation.xvcl.XVCLInstantiator
-
- All Implemented Interfaces:
IRegistration,IVilType
public class XVCLInstantiator extends java.lang.Object implements IVilType, IRegistration
Registers and calls the XVCL instantiatior from VIL.- Author:
- El-Sharkawy
-
-
Field Summary
Fields Modifier and Type Field Description private static booleanregistered
-
Constructor Summary
Constructors Constructor Description XVCLInstantiator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext context)Private method to activate plugin.protected voiddeactivate(org.osgi.service.component.ComponentContext context)Private method to to de-activate plugin.static voidregister()Registers the Java artifacts and instantiators.static voidxvcl(FileArtifact specification)Instantiates the given XVCL specification file via VIL.
-
-
-
Method Detail
-
register
public static final void register()
Registers the Java artifacts and instantiators.
-
activate
protected void activate(org.osgi.service.component.ComponentContext context)
Private method to activate plugin.- Parameters:
context- Context.
-
deactivate
protected void deactivate(org.osgi.service.component.ComponentContext context)
Private method to to de-activate plugin.- Parameters:
context- Context.
-
xvcl
public static void xvcl(FileArtifact specification) throws VilException
Instantiates the given XVCL specification file via VIL.- Parameters:
specification- The stating point for instantiation with XVCL.- Throws:
ArtifactException- If XVCL detects any errors, while parsing the specification.VilException
-
-