Package org.apache.log4j.plugins

Examples of org.apache.log4j.plugins.Receiver.activateOptions()


                simpleReceiver, new Object[] { new Integer(port) });

              simpleReceiver.setThreshold(Level.TRACE);

              pluginRegistry.addPlugin(simpleReceiver);
              simpleReceiver.activateOptions();
              receiversPanel.updateReceiverTreeInDispatchThread();
            } catch (Exception e) {
              MessageCenter.getInstance().getLogger().error(
                "Error creating Receiver", e);
              MessageCenter.getInstance().getLogger().info(
View Full Code Here


              Receiver selectedReceiver = getCurrentlySelectedReceiver();
              if(selectedReceiver == null){
                return;
              }
              selectedReceiver.shutdown();
              selectedReceiver.activateOptions();
            }
          };

      restartReceiverButtonAction.putValue(
        Action.SHORT_DESCRIPTION,
View Full Code Here

                    for (Iterator iter = allReceivers.iterator();
                        iter.hasNext();) {
                      Receiver item = (Receiver) iter.next();
                      item.shutdown();
                      item.activateOptions();
                    }

                    updateReceiverTreeInDispatchThread();
                    MessageCenter.getInstance().getLogger().info(
                      "All Receivers have been (re)started");
View Full Code Here

              Receiver selectedReceiver = getCurrentlySelectedReceiver();
              if(selectedReceiver == null){
                return;
              }
              selectedReceiver.shutdown();
              selectedReceiver.activateOptions();
            }
          };

      restartReceiverButtonAction.putValue(
        Action.SHORT_DESCRIPTION,
View Full Code Here

                    for (Iterator iter = allReceivers.iterator();
                        iter.hasNext();) {
                      Receiver item = (Receiver) iter.next();
                      item.shutdown();
                      item.activateOptions();
                    }

                    updateReceiverTreeInDispatchThread();
                    MessageCenter.getInstance().getLogger().info(
                      "All Receivers have been (re)started");
View Full Code Here

                simpleReceiver, new Object[] { new Integer(port) });

              simpleReceiver.setThreshold(Level.DEBUG);

              pluginRegistry.addPlugin(simpleReceiver);
              simpleReceiver.activateOptions();
              receiversPanel.updateReceiverTreeInDispatchThread();
            } catch (Exception e) {
              MessageCenter.getInstance().getLogger().error(
                "Error creating Receiver", e);
              MessageCenter.getInstance().getLogger().info(
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.