コード例 #1
0
  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated NOT
   */
  @SuppressWarnings("unchecked")
  protected SendMediatorImpl() {
    super();
    // Static Receiving Sequence
    staticReceivingSequence = EsbFactoryImpl.eINSTANCE.createRegistryKeyProperty();
    DeveloperStudioProviderUtils.addFilter(
        (Map<String, List<String>>) staticReceivingSequence.getFilters(),
        CSProviderConstants.FILTER_MEDIA_TYPE,
        ESBMediaTypeConstants.MEDIA_TYPE_SEQUENCE);
    staticReceivingSequence.setPrettyName("Static");
    staticReceivingSequence.setKeyName("receive");
    staticReceivingSequence.setKeyValue(DEFAULT_SEQUENCE_REFERENCE_REGISTRY_KEY);
    setStaticReceivingSequence(staticReceivingSequence);

    // Dynamic Receiving Sequence
    dynamicReceivingSequence = EsbFactoryImpl.eINSTANCE.createNamespacedProperty();
    dynamicReceivingSequence.setPropertyName("receive");
    dynamicReceivingSequence.setPropertyValue(DEFAULT_XPATH_PROPERTY_VALUE);
    dynamicReceivingSequence.setPrettyName("Dynamic");
    setDynamicReceivingSequence(dynamicReceivingSequence);
  }
 private ArtifactTemplate[] getEndpointTemplates() {
   Map<String, List<String>> filters = new HashMap<String, List<String>>();
   DeveloperStudioProviderUtils.addFilter(
       filters, CSProviderConstants.FILTER_MEDIA_TYPE, ESBMediaTypeConstants.MEDIA_TYPE_ENDPOINT);
   return ArtifactTemplateHandler.getArtifactTemplates(filters);
 }
コード例 #3
0
 static {
   Map<String, List<String>> filters = new HashMap<String, List<String>>();
   DeveloperStudioProviderUtils.addFilter(
       filters, CSProviderConstants.FILTER_MEDIA_TYPE, ESBMediaTypeConstants.MEDIA_TYPE_ENDPOINT);
   setArtifactTemplates(ArtifactTemplateHandler.getArtifactTemplates(filters));
 }