Package org.xmlBlaster.util.context

Examples of org.xmlBlaster.util.context.ContextNode


   /**
    * @see #getPlugin(String, String, StorageId, QueuePropertyBase)
    */
   public I_Map getPlugin(String typeVersion, StorageId storageId, QueuePropertyBase props) throws XmlBlasterException {
      return getPlugin(new PluginInfo(glob, this, typeVersion,
                                      new ContextNode(this.pluginEnvClass, storageId.getRelatingType(), glob.getContextNode())),
                       storageId, props);
   }
View Full Code Here


    * @return The plugin for this type and version or null if none is specified or type=="undef"
    */
   public I_Map getPlugin(String type, String version, StorageId storageId, QueuePropertyBase props) throws XmlBlasterException {
      if (log.isLoggable(Level.FINER)) log.finer("getPlugin(type="+type+", version="+version+", storageId="+storageId+", pluginEnvClass="+this.pluginEnvClass+")");
      return getPlugin(new PluginInfo(glob, this, type, version,
                                      new ContextNode(this.pluginEnvClass, storageId.getRelatingType(), glob.getContextNode())),
                       storageId, props);
   }
View Full Code Here

      this.glob.getRunlevelManager().addRunlevelListener(this);
      this.glob.setClusterManager(this);
     
      // For JMX instanceName may not contain ","
      String vers = ("1.0".equals(getVersion())) ? "" : getVersion();
      this.contextNode = new ContextNode(ContextNode.SERVICE_MARKER_TAG,
            "ClusterManager[" + getType() + vers + "]", this.glob.getContextNode());
      this.ME = this.contextNode.getRelativeName();
      this.mbeanHandle = this.glob.registerMBean(this.contextNode, this);
     
      try {
View Full Code Here

      }
      this.exceptionErrorCode = (String)props.getProperty("exceptionErrorCode", "");
      this.filterKeyOid = (String)props.getProperty("filterKeyOid", "");

      // For JMX instanceName may not contain ","
      this.contextNode = new ContextNode(ContextNode.SERVICE_MARKER_TAG,
            "PublishDelayer[" + getType() + "]", glob.getScopeContextNode());
      this.mbeanHandle = glob.registerMBean(this.contextNode, this);
   }
View Full Code Here

         if (log.isLoggable(Level.FINER)) log.finer(ME+"initialized");
         this.queueId = uniqueQueueId;

         // For JMX instanceName may not contain ","
         String instanceName = this.glob.validateJmxValue(this.queueId.getId());
         this.contextNode = new ContextNode(ContextNode.QUEUE_MARKER_TAG, instanceName,
                             this.glob.getContextNode()); // TODO: pass from real parent like SubjectInfo
         this.mbeanHandle = this.glob.registerMBean(this.contextNode, this);

         QueuePluginManager pluginManager = glob.getQueuePluginManager();
         QueuePropertyBase queuePropertyBase = (QueuePropertyBase)userData;
View Full Code Here

         // TODO Remove this when a better solution is found : several ReplSlaves for same Writer if data comes from several DbWatchers.
         boolean forceSend = info.getBoolean(REPLICATION_FORCE_SENDING, false);
         if (forceSend)
            this.forceSending = true;
         String instanceName = this.manager.getInstanceName() + ContextNode.SEP + this.slaveSessionId;
         ContextNode contextNode = new ContextNode(ContextNode.CONTRIB_MARKER_TAG, instanceName,
               this.global.getContextNode());
         this.mbeanHandle = this.global.registerMBean(contextNode, this);
        
         this.dbWatcherSessionName = info.get(this.slaveSessionId + DBWATCHER_SESSION_NAME, null);
         this.cascadedReplPrefix = this.persistentInfo.get(this.slaveSessionId + CASCADED_REPL_PREFIX, null);
View Full Code Here

      this.id = this.serverScope.getNodeId() + "/" + ContextNode.TOPIC_MARKER_TAG + "/" + this.uniqueKey;
      this.ME = this.serverScope.getLogPrefix() + "/" + ContextNode.TOPIC_MARKER_TAG + "/" + this.uniqueKey;

      // JMX does not allow commas ','
      String instanceName = this.serverScope.validateJmxValue(this.uniqueKey);
      this.contextNode = new ContextNode(ContextNode.TOPIC_MARKER_TAG, instanceName, this.serverScope.getContextNode());

      this.requestBroker = this.serverScope.getRequestBroker();
      this.destroyTimer = this.serverScope.getTopicTimer();
      // this.msgErrorHandler = new MsgTopicErrorHandler(this.glob, this);
View Full Code Here

     
      String xsltProcessor = get("xsltProcessor", null);
      ObjectName processorName = null;
      if (xsltProcessor != null) {

         ContextNode contextNode = new ContextNode(ContextNode.CONTRIB_MARKER_TAG, "jmx" + ContextNode.SEP + xsltProcessor,
               this.global.getContextNode());
         processorName = new ObjectName(JmxWrapper.getObjectNameLiteral(this.global, contextNode));
        
         // XSLTProcessor processor = new XSLTProcessor();
         ContribXsltProcessor processor = new ContribXsltProcessor(this.roles, this.authMethod);
View Full Code Here

         t.start();
      }
     
      if (this.mbeanHandle == null) {
        // For JMX instanceName may not contain ","
        this.contextNode = new ContextNode(ContextNode.SERVICE_MARKER_TAG,
                            "SmtpClient[" + getType() + "]",
                            glob.getScopeContextNode());
        this.mbeanHandle = glob.registerMBean(this.contextNode, this);
      }
View Full Code Here

         putObject("org.xmlBlaster.engine.Global", this.global);
     
      // For JMX instanceName may not contain ","
      if (pluginInfo != null) {
         String instanceName = pluginInfo.getType();
         this.contextNode = new ContextNode(ContextNode.SERVICE_MARKER_TAG,
               instanceName, this.global.getScopeContextNode());
      }

      helper.replaceAllEntries(this, propsOfOwnInterest);
      if (pluginInfo != null && pluginInfo.getParameters() != null) {
View Full Code Here

TOP

Related Classes of org.xmlBlaster.util.context.ContextNode

Copyright © 2018 www.massapicom. 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.