Package org.tuba.plugins

Examples of org.tuba.plugins.IIntegrator


    return type.equals(preRepresentationType);
  }

  private String integrate(IArtefactPosition artefactPosition,
      IArtefactRepresentation representation, XMLIntegrator integrator) {
    IIntegrator integratorInstance = PluginManager.getInstance()
        .instantiateIntegrator(integrator.getId());

    String integrationID = integratorInstance.integrate(artefactPosition,
        representation, integrator.getConfiguration());
    if (integrationID == null)
      return null;

    DocumentInfo documentInfo = DocumentManager.getInstance()
View Full Code Here


  }

  public IIntegrator instantiateIntegrator(MetaIntegrator integrator) {
    if (integrator == null)
      return null;
    IIntegrator runningInstance = integratorInstances.get(integrator
        .getId());
    if (runningInstance != null)
      return runningInstance;

    Object integratorObj = instantiate(
View Full Code Here

  }

  private IIntegrator registerIntegrator(String id, Object integratorObj) {
    if (!(integratorObj instanceof IIntegrator))
      return null;
    IIntegrator newInstance = (IIntegrator) integratorObj;
    integratorInstances.put(id, newInstance);
    return newInstance;
  }
View Full Code Here

    integratorInstances.put(id, newInstance);
    return newInstance;
  }

  public IIntegrator instantiateIntegrator(String integratorID) {
    IIntegrator runningInstance = integratorInstances.get(integratorID);
    if (runningInstance != null)
      return runningInstance;

    Object integratorObj = instantiate(integratorID, IIntegrator.POINT_ID);
    return registerIntegrator(integratorID, integratorObj);
View Full Code Here

TOP

Related Classes of org.tuba.plugins.IIntegrator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.