Tabnine Logo
org.granite.config.flex
Code IndexAdd Tabnine to your IDE (free)

How to use org.granite.config.flex

Best Java code snippets using org.granite.config.flex (Showing top 20 results out of 315)

origin: org.ow2.kerneos.graniteds-osgi/granite-core

  @Override
  public String toString() {
    return "Destination{" +
        "id='" + id + '\'' +
        ", service='" + service.getId() + '\'' +
        ", adapter='" + adapter.getId() + '\'' +
        '}';
  }
}
origin: org.ow2.kerneos.graniteds-osgi/granite-core

  @Override
  public String toString() {
    return "GraniteChannel{" +
        "id=" + id +
        ", uri=" + endPoint.getUri() +
        ", context=" + context +
        ", gravity=true" +
        '}';
  }
}
origin: org.graniteds/granite-server

public ServicesConfig(InputStream customConfigIs, Configuration configuration, boolean scan) throws IOException, SAXException {
  if (customConfigIs != null)
    loadConfig(customConfigIs);
  
  if (scan)
    scan(configuration);
}
 
origin: org.ow2.kerneos.graniteds-osgi/granite-core

  @Override
  public String toString() {
    return "Destination{" +
        "id='" + id + '\'' +
        ", service='" + service.getId() + '\'' +
        ", factory='" + factory.getId() + '\'' +
        ", scope='" + properties.get("scope") + '\'' +
        '}';
  }
}
origin: org.graniteds/granite-client

  public static Channel forElement(XMap element) {
    String id = element.get("@id");
    String className = element.get("@class");

    XMap endPointElt = element.getOne("endpoint");
    if (endPointElt == null)
      throw new RuntimeException("Excepting a 'endpoint' element in 'channel-definition': " + id);
    EndPoint endPoint = EndPoint.forElement(endPointElt);

    XMap properties = new XMap(element.getOne("properties"));

    return new Channel(id, className, endPoint, properties);
  }
}
origin: org.graniteds/granite-client-java

protected static boolean getChannelProperty(String channelId, ChannelConfig channelConfig, String name) {
  if (channelId != null && channelConfig != null)
    return channelConfig.getChannelProperty(channelId, name);
  return false;
}
 
origin: org.ow2.kerneos.graniteds-osgi/granite-core

  @Override
  public String toString() {
    return "Service{" +
        "id=" + id +
        ", class=" + className +
        ", messageTypes=" + messageTypes +
        ", defaultAdapter=" + adapter.getId() +
        '}';
  }
}
origin: org.ow2.kerneos.graniteds-osgi/granite-core

  @Override
  public String toString() {
    return "Destination{" +
        "id='" + id + '\'' +
        ", service='" + service.getId() + '\'' +
        '}';
  }
}
origin: org.graniteds/granite-server

public void remove() {
  if (removeListener != null)
    removeListener.destinationRemoved(this);
}
 
origin: org.graniteds/granite-client

  public static EndPoint forElement(XMap element) {
    String uri = element.get("@uri");
    String className = element.get("@class");

    return new EndPoint(uri, className);
  }
}
origin: org.graniteds/granite-client

  public static Factory forElement(XMap element) {
    String id = element.get("@id");
    String className = element.get("@class");
    XMap properties = new XMap(element.getOne("properties"));

    return new Factory(id, className, properties);
  }
}
origin: org.graniteds/granite-server

  public static Adapter forElement(XMap element) {
    String id = element.get("@id");
    String className = element.get("@class");
    XMap properties = new XMap(element.getOne("properties"));

    return new Adapter(id, className, properties);
  }
}
origin: org.ow2.kerneos.graniteds-osgi/granite-core

@Override
public Adapter getAdapter() {
  return service.getDefaultAdapter();
}
origin: org.graniteds/granite-server

public static synchronized ServicesConfig loadConfig(ServletContext context) throws ServletException {
  return loadConfig(context, false);
}
origin: org.graniteds/granite-client

public ServicesConfig(InputStream customConfigIs, Configuration configuration, boolean scan) throws IOException, SAXException {
  if (customConfigIs != null)
    loadConfig(customConfigIs);
  
  if (scan)
    scan(configuration);
}
 
origin: org.graniteds/granite-server

  public static Channel forElement(XMap element) {
    String id = element.get("@id");
    String className = element.get("@class");

    XMap endPointElt = element.getOne("endpoint");
    if (endPointElt == null)
      throw new RuntimeException("Excepting a 'endpoint' element in 'channel-definition': " + id);
    EndPoint endPoint = EndPoint.forElement(endPointElt);

    XMap properties = new XMap(element.getOne("properties"));

    return new Channel(id, className, endPoint, properties);
  }
}
origin: org.graniteds/granite-server

protected static boolean getChannelProperty(String channelId, ChannelConfig channelConfig, String name) {
  if (channelId != null && channelConfig != null)
    return channelConfig.getChannelProperty(channelId, name);
  return false;
}
 
origin: org.graniteds/granite-client

public void remove() {
  if (removeListener != null)
    removeListener.destinationRemoved(this);
}
 
origin: org.ow2.kerneos.graniteds-osgi/granite-core

  @Override
  public String toString() {
    return "GraniteChannel{" +
        "id=" + id +
        ", uri=" + endPoint.getUri() +
        ", context=" + context +
        ", gravity=false" +
        '}';
  }
}
origin: org.graniteds/granite-client-javafx

protected static boolean getChannelProperty(String channelId, ChannelConfig channelConfig, String name) {
  if (channelId != null && channelConfig != null)
    return channelConfig.getChannelProperty(channelId, name);
  return false;
}
 
org.granite.config.flex

Most used classes

  • Destination
  • ServicesConfig
  • Adapter
  • ChannelConfig
  • EndPoint
  • Service,
  • Channel,
  • DestinationRemoveListener,
  • ServletServicesConfig,
  • SimpleEndPoint
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now