Package org.apache.muse.ws.resource.sg

Examples of org.apache.muse.ws.resource.sg.ServiceGroupPersistence


            {
                Object[] filler = { ServiceGroupPersistence.class, persistence.getClass() };
                throw new RuntimeException(_MESSAGES.get("IncorrectPersistenceRoot", filler));
            }
           
            ServiceGroupPersistence sgP = (ServiceGroupPersistence)persistence;
            sgP.setServiceGroup(resource);
        }
               
        //
        // listen for all new resources being created so they can
        // be added to the service group
View Full Code Here


            throw new RuntimeException(_MESSAGES.get("EntryNotFound"));
       
        //
        // if we're using persistence, remove the record of the entry
        //
        ServiceGroupPersistence persistence = (ServiceGroupPersistence)getPersistence();
       
        try
        {
            if (persistence != null)
                persistence.resourceRemoved(entry.getEndpointReference());
        }
       
        catch (SoapFault fault)
        {
            LoggingUtils.logError(getLog(), fault);
View Full Code Here

        WsResource entry = addEntry(epr, null, termination);
       
        //
        // if we're using persistence, create a record of the entry
        //
        ServiceGroupPersistence persistence = (ServiceGroupPersistence)getPersistence();
       
        try
        {
            if (persistence != null)
                persistence.resourceAdded(entry.getEndpointReference(), entry);
        }
       
        catch (SoapFault fault)
        {
            throw new AddRefusedFault(fault);
View Full Code Here

            {
                Object[] filler = { ServiceGroupPersistence.class, persistence.getClass() };
                throw new RuntimeException(_MESSAGES.get("IncorrectPersistenceRoot", filler));
            }
           
            ServiceGroupPersistence sgP = (ServiceGroupPersistence)persistence;
            sgP.setServiceGroup(resource);
        }
               
        //
        // listen for all new resources being created so they can
        // be added to the service group
View Full Code Here

            throw new RuntimeException(_MESSAGES.get("EntryNotFound"));
       
        //
        // if we're using persistence, remove the record of the entry
        //
        ServiceGroupPersistence persistence = (ServiceGroupPersistence)getPersistence();
       
        try
        {
            if (persistence != null)
                persistence.resourceRemoved(entry.getEndpointReference());
        }
       
        catch (SoapFault fault)
        {
            LoggingUtils.logError(getLog(), fault);
View Full Code Here

        WsResource entry = addEntry(epr, null, termination);
       
        //
        // if we're using persistence, create a record of the entry
        //
        ServiceGroupPersistence persistence = (ServiceGroupPersistence)getPersistence();
       
        try
        {
            if (persistence != null)
                persistence.resourceAdded(entry.getEndpointReference(), entry);
        }
       
        catch (SoapFault fault)
        {
            throw new AddRefusedFault(fault);
View Full Code Here

            {
                Object[] filler = { ServiceGroupPersistence.class, persistence.getClass() };
                throw new RuntimeException(_MESSAGES.get("IncorrectPersistenceRoot", filler));
            }
           
            ServiceGroupPersistence sgP = (ServiceGroupPersistence)persistence;
            sgP.setServiceGroup(resource);
        }
               
        //
        // listen for all new resources being created so they can
        // be added to the service group
View Full Code Here

            throw new RuntimeException(_MESSAGES.get("EntryNotFound"));
       
        //
        // if we're using persistence, remove the record of the entry
        //
        ServiceGroupPersistence persistence = (ServiceGroupPersistence)getPersistence();
       
        try
        {
            if (persistence != null)
                persistence.resourceRemoved(entry.getEndpointReference());
        }
       
        catch (SoapFault fault)
        {
            LoggingUtils.logError(getLog(), fault);
View Full Code Here

        WsResource entry = addEntry(epr, null, termination);
       
        //
        // if we're using persistence, create a record of the entry
        //
        ServiceGroupPersistence persistence = (ServiceGroupPersistence)getPersistence();
       
        try
        {
            if (persistence != null)
                persistence.resourceAdded(entry.getEndpointReference(), entry);
        }
       
        catch (SoapFault fault)
        {
            throw new AddRefusedFault(fault);
View Full Code Here

TOP

Related Classes of org.apache.muse.ws.resource.sg.ServiceGroupPersistence

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.