Tabnine Logo
DefaultServiceDescription.getServiceID
Code IndexAdd Tabnine to your IDE (free)

How to use
getServiceID
method
in
com.logicbus.models.servant.DefaultServiceDescription

Best Java code snippets using com.logicbus.models.servant.DefaultServiceDescription.getServiceID (Showing top 4 results out of 315)

origin: anylogic/alogic

JsonTools.setString(json, "id", getServiceID());
JsonTools.setString(json, "acGroupId",getAcGroup());
JsonTools.setString(json, "privilege", getPrivilege());
origin: anylogic/alogic

sd.getProperties().SetValue("script", child.toURI().toString());		
root.addService(sd.getServiceID(), sd);
origin: anylogic/alogic

  private void serviceFound(Element element,ServantCatalogNodeImpl node, String src,Class<?> bootstrap) {
    //从xml文件名中获取服务id
    int end = src.lastIndexOf('.');
    int start = src.lastIndexOf('/');
    String id = src.substring(start + 1, end);
    
    Path childPath = node.getPath().append(id);
    DefaultServiceDescription sd = new DefaultServiceDescription(childPath.getId());
    sd.setModule(servant);
    sd.setName(id);
    sd.setNote(id);
    sd.setPath(childPath.getPath());
    String visible = element.getAttribute("visible");
    sd.setVisible(StringUtils.isNotEmpty(visible)?visible:"public");
    String log = element.getAttribute("log");
    sd.setLogType(StringUtils.isNotEmpty(log)?log:"brief");
    sd.getProperties().SetValue("script", src);
    sd.getProperties().SetValue("bootstrap", bootstrap.getName());
    node.addService(sd.getServiceID(), sd);
  }
}
origin: anylogic/alogic

public void toXML(Element root){
  Document doc = root.getOwnerDocument();
  XmlTools.setString(root,"id",getServiceID());
  XmlTools.setString(root,"name",getName());
  XmlTools.setString(root,"note",getNote());
com.logicbus.models.servantDefaultServiceDescriptiongetServiceID

Javadoc

获得服务ID

Popular methods of DefaultServiceDescription

  • <init>
    constructor
  • getProperties
    获取参数变量集
  • setModule
    设置服务实现代码
  • setPath
    设置服务路径
  • fromXML
  • getModule
    获得服务实现模块
  • setLogType
    设置日志类型
  • setName
    设置服务名称
  • setNote
    设置服务说明
  • setVisible
    设置服务的可见性
  • getAcGroup
  • getLogType
    获取日志类型
  • getAcGroup,
  • getLogType,
  • getName,
  • getNote,
  • getPath,
  • getPrivilege,
  • getVisible,
  • guard,
  • parseLogType

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
  • getSystemService (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ImageIO (javax.imageio)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Sublime Text plugins
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