Examples of BaseObject


Examples of org.eclipselabs.mongoemf.perf.model.BaseObject

  {
    switch (classifierID)
    {
      case ModelPackage.BASE_OBJECT:
      {
        BaseObject baseObject = (BaseObject)theEObject;
        T result = caseBaseObject(baseObject);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ModelPackage.TEST_OBJECT1:
View Full Code Here

Examples of org.springframework.yarn.integration.ip.mind.binding.BaseObject

    }
  }

  @Override
  public RpcMessage<?> get(RpcMessage<?> message) {
    BaseObject baseObject = (BaseObject) message.getBody();
    BaseResponseObject baseResponseObject = jobRepositoryService.get(baseObject);
    return new GenericRpcMessage<BaseResponseObject>(baseResponseObject);
  }
View Full Code Here

Examples of org.springframework.yarn.integration.ip.mind.binding.BaseObject

  private final JobRepositoryServiceInterceptorList interceptors =
      new JobRepositoryServiceInterceptorList();

  @Override
  protected MindRpcMessageHolder handleMindMessageInternal(MindRpcMessageHolder message) {
    BaseObject baseObject = getConversionService().convert(message, BaseObject.class);
    if(log.isDebugEnabled()) {
      log.debug("Converted message into base object: " + baseObject);
    }

    baseObject = interceptors.preRequest(baseObject);
View Full Code Here

Examples of org.springframework.yarn.integration.ip.mind.binding.BaseObject

    if (clazz == null) {
      throw new MindDataConversionException("Failed to convert source object. Can't resolve type=" + type);
    }

    try {
      BaseObject object = (BaseObject) objectMapper.readValue(content, clazz);
      return object;
    } catch (Exception e) {
      throw new MindDataConversionException("Failed to convert source object.", e);
    }
  }
View Full Code Here

Examples of org.springframework.yarn.integration.ip.mind.binding.BaseObject

  @Autowired
  private CustomAppmaster customAppmaster;

  @Override
  protected MindRpcMessageHolder handleMindMessageInternal(MindRpcMessageHolder message) {
    BaseObject request = getConversionService().convert(message, BaseObject.class);
    JobResponse response = handleJob((JobRequest)request);
    return getConversionService().convert(response, MindRpcMessageHolder.class);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.