Class 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 boolean registered  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void activate​(org.osgi.service.component.ComponentContext context)
      Private method to activate plugin.
      protected void deactivate​(org.osgi.service.component.ComponentContext context)
      Private method to to de-activate plugin.
      static void register()
      Registers the Java artifacts and instantiators.
      static void xvcl​(FileArtifact specification)
      Instantiates the given XVCL specification file via VIL.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • registered

        private static boolean registered
    • Constructor Detail

      • XVCLInstantiator

        public XVCLInstantiator()
    • 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