Examples of DestructionNotificationDocument


Examples of org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.DestructionNotificationDocument

            else
            {
                resourceID = id.toString();
            }

            DestructionNotificationDocument destructionNotifDoc = DestructionNotificationDocument.Factory.newInstance();
            DestructionNotificationDocument.DestructionNotification destructionNotif = destructionNotifDoc.addNewDestructionNotification();
            destructionNotif.setResourceId((String) resourceID);
            try
            {
                publish(buildManagementEvent(destructionNotifDoc));
            }
View Full Code Here

Examples of org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.DestructionNotificationDocument

    public void destructionOccurred(ResourceDestructionEvent event)
    {
        Object resourceID = event.getResourceID();
        if (resourceID != null)
        {
            DestructionNotificationDocument destructionNotificationDocument = DestructionNotificationDocument.Factory.newInstance();
            org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart2.DestructionNotificationDocument.DestructionNotification destructionNotification = destructionNotificationDocument.addNewDestructionNotification();

            destructionNotification.setResourceId((String) resourceID);
            try
            {
                publish(buildManagementEvent(destructionNotificationDocument));
            }
            catch (Exception e)
            {
                if (LOG.isDebugEnabled())
                {
                    LOG.debug("Publishing of the notification: " + destructionNotificationDocument.toString() + " failed.", e);
                }
            }
        }
    }
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.