Package org.apache.uima

Examples of org.apache.uima.ResourceSpecifierFactory.createObject()


   * @return AEDeploymentMetaData
   */
  static public AEDeploymentMetaData createAEDeploymentMetaData(
          RemoteAEDeploymentMetaData remoteMetaData) {
    ResourceSpecifierFactory factory = UIMAFramework.getResourceSpecifierFactory();
    AEDeploymentMetaData metaData = (AEDeploymentMetaData) factory
            .createObject(AEDeploymentMetaData.class);
    metaData.setParent(remoteMetaData.getParent());
    metaData.setKey(remoteMetaData.getKey());
    try {
      metaData.setResourceSpecifier(remoteMetaData.getResourceSpecifier(), null, false);
View Full Code Here


   * @return RemoteAEDeploymentMetaData
   */
  static public RemoteAEDeploymentMetaData createRemoteAEDeploymentMetaData(
          AEDeploymentMetaData metaData) {
    ResourceSpecifierFactory factory = UIMAFramework.getResourceSpecifierFactory();
    RemoteAEDeploymentMetaData remoteMetaData = (RemoteAEDeploymentMetaData) factory
            .createObject(RemoteAEDeploymentMetaData.class);
    remoteMetaData.setParent(metaData.getParent());
    remoteMetaData.setKey(metaData.getKey());
    remoteMetaData.setCasMultiplierPoolSize(metaData.getCasMultiplierPoolSize());
    remoteMetaData.setRemoteReplyQueueScaleout(-1);
View Full Code Here

   * @return AEDeploymentMetaData
   */
  static public AEDeploymentMetaData createAEDeploymentMetaData(
          RemoteAEDeploymentMetaData remoteMetaData) {
    ResourceSpecifierFactory factory = UIMAFramework.getResourceSpecifierFactory();
    AEDeploymentMetaData metaData = (AEDeploymentMetaData) factory
            .createObject(AEDeploymentMetaData.class);
    metaData.setParent(remoteMetaData.getParent());
    metaData.setKey(remoteMetaData.getKey());
    try {
      metaData.setResourceSpecifier(remoteMetaData.getResourceSpecifier(), null, false);
View Full Code Here

   * @return RemoteAEDeploymentMetaData
   */
  static public RemoteAEDeploymentMetaData createRemoteAEDeploymentMetaData(
          AEDeploymentMetaData metaData) {
    ResourceSpecifierFactory factory = UIMAFramework.getResourceSpecifierFactory();
    RemoteAEDeploymentMetaData remoteMetaData = (RemoteAEDeploymentMetaData) factory
            .createObject(RemoteAEDeploymentMetaData.class);
    remoteMetaData.setParent(metaData.getParent());
    remoteMetaData.setKey(metaData.getKey());
    remoteMetaData.setCasMultiplierPoolSize(metaData.getCasMultiplierPoolSize());
    try {
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.