Tabnine Logo
LoggingUtils
Code IndexAdd Tabnine to your IDE (free)

How to use
LoggingUtils
in
org.apache.muse.util

Best Java code snippets using org.apache.muse.util.LoggingUtils (Showing top 12 results out of 315)

origin: org.n52.amused/amused-wsrf-impl

  /**
   * 
   * Invokes the resource's WS-RL Destroy operation.
   *
   */
  public void run()
  {
    try
    {
      _resource.shutdown();
    }
    
    catch (SoapFault fault)
    {
      //
      // If the resource destructor fails, there's not much 
      // we can do - there is no caller to report back to, 
      // so we just log the info
      //
      LoggingUtils.logError(_resource.getLog(), fault);
    }
  }
}
origin: org.n52.amused/amused-platform-mini

LoggingUtils.logError(router.getLog(), error);
LoggingUtils.logMessage(router.getLog(), request, true);
LoggingUtils.logMessage(router.getLog(), response, false);
origin: org.n52.amused/amused-core

  LoggingUtils.logCall(log, method, parameters);
LoggingUtils.logError(log, error);
origin: org.n52.amused/amused-platform-axis2

LoggingUtils.logMessage(router.getLog(), soapAsDOM, true);
origin: org.n52.amused/amused-wsn-impl

private void processMessageListeners(NotificationMessage message)
{
  Iterator i = getMessageListeners().iterator();
  
  while (i.hasNext())
  {
    NotificationMessageListener listener = (NotificationMessageListener)i.next();
    
    try
    {
      if (listener.accepts(message))
        listener.process(message);
    }
    
    catch (Throwable error)
    {
      LoggingUtils.logError(getLog(), error);
    }
  }
}

origin: org.n52.amused/amused-wsn-impl

private void processTopicListeners(NotificationMessage message)
{
  QName topic = message.getTopic();
  Iterator i = getTopicListeners(topic).iterator();
  
  while (i.hasNext())
  {
    NotificationMessageListener listener = (NotificationMessageListener)i.next();
    
    try
    {
      //
      // don't call accepts() - we assume that all listeners 
      // added for the topic want the message and require no 
      // further analysis
      //
      listener.process(message);
    }
    
    catch (Throwable error)
    {
      LoggingUtils.logError(getLog(), error);
    }
  }
}

origin: org.n52.amused/amused-wsrf-impl

LoggingUtils.logError(getLog(), fault);
origin: org.n52.amused/amused-core

  /**
   * 
   * {@inheritDoc}
   * <br><br>
   * This implementation iterates over the collection of resources in 
   * the ResourceManager and destroys each one. If one destructor fails, 
   * it is logged and we move on to the next resource.
   * 
   * @see #getResourceManager()
   * 
   */
  public void shutdown()
  {
    try
    {
      getResourceManager().shutdown();
    }
    
    catch (SoapFault error)
    {
      LoggingUtils.logError(getLog(), error);
    }
    
    _hasBeenShutdown = true;
  }
}
origin: org.n52.amused/amused-wsn-impl

public boolean accepts(NotificationMessage message)
{
  //
  // evaluate the xpath over the resource's current ws-rp doc - if the 
  // result is 'true', we publish the message
  //
  try
  {
    ResourcePropertyCollection props = _resource.getPropertyCollection();
    Element wsrpDoc = props.getResourcePropertyDocument();
    return XPathUtils.isMatch(wsrpDoc, _expression);
  }
  
  catch (Throwable error)
  {
    LoggingUtils.logError(_resource.getLog(), error);
    return false;
  }
}

origin: org.n52.amused/amused-wsn-impl

public void resourceRemoved(EndpointReference epr)
{
  //
  // this call is synchronized, so if we're publishing, the 
  // collection will not be updated until afterwards
  //
  boolean subExists = hasSubscription(epr);
  
  if (!subExists)
    return;
  
  removeSubscription(epr);
  
  NotificationProducerPersistence persistence = (NotificationProducerPersistence)getPersistence();
  
  try
  {
    if (persistence != null)
      persistence.resourceRemoved(epr);
  }
  
  catch (SoapFault fault)
  {
    LoggingUtils.logError(getLog(), fault);
  }
}
origin: org.n52.amused/amused-wsn-impl

  LoggingUtils.logError(getLog(), error);
LoggingUtils.logError(getLog(), error);
origin: org.n52.amused/amused-wsn-impl

LoggingUtils.logError(getLog(), fault);
org.apache.muse.utilLoggingUtils

Javadoc

LoggingUtils is a collection of methods creating and using log files via the JDK logging API.

Most used methods

  • logError
    Writes a nicely-formatted message and stack trace to the given log using the information in the give
  • logMessage
  • logCall
    Writes a nicely-formatted message that shows what parameter types were expected by the Java method a

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top plugins for Android Studio
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