Package org.mule.context.notification

Examples of org.mule.context.notification.ConnectionNotification


        }
    }

    protected void fireConnectNotification(int action, String description, RetryContext context)
    {
        context.getMuleContext().fireNotification(new ConnectionNotification(null, description, action));
    }
View Full Code Here


    }

    protected void fireNotification(int action)
    {
        getLifecycleObject().getMuleContext().fireNotification(
            new ConnectionNotification(getLifecycleObject(), getLifecycleObject().getName(), action));
    }
View Full Code Here

            this.doDisconnect();
            if (logger.isInfoEnabled())
            {
                logger.info("Disconnected: " + this.getConnectionDescription());
            }
            this.fireNotification(new ConnectionNotification(this, getConnectEventId(),
                    ConnectionNotification.CONNECTION_DISCONNECTED));
        }
        catch (Exception e)
        {
            logger.error(e.getMessage());
View Full Code Here

        if (logger.isDebugEnabled())
        {
            logger.debug("Disconnected: " + this);
        }
        connector.fireNotification(new ConnectionNotification(this, getConnectEventId(endpoint),
                ConnectionNotification.CONNECTION_DISCONNECTED));
    }
View Full Code Here

        }
    }

    protected void fireConnectNotification(int action, String description, RetryContext context)
    {
        context.getMuleContext().fireNotification(new ConnectionNotification(null, description, action));
    }
View Full Code Here

    }

    protected void fireNotification(int action)
    {
        getLifecycleObject().getMuleContext().fireNotification(
            new ConnectionNotification(getLifecycleObject(), getLifecycleObject().getName(), action));
    }
View Full Code Here

        if (logger.isDebugEnabled())
        {
            logger.debug("Disconnected: " + this);
        }
        connector.fireNotification(new ConnectionNotification(this, getConnectEventId(endpoint),
                ConnectionNotification.CONNECTION_DISCONNECTED));
    }
View Full Code Here

            this.doDisconnect();
            if (logger.isInfoEnabled())
            {
                logger.info("Disconnected: " + this.getConnectionDescription());
            }
            this.fireNotification(new ConnectionNotification(this, getConnectEventId(),
                    ConnectionNotification.CONNECTION_DISCONNECTED));
        }
        catch (Exception e)
        {
            logger.error(e.getMessage());
View Full Code Here

TOP

Related Classes of org.mule.context.notification.ConnectionNotification

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.