Package org.globus.wsrf

Examples of org.globus.wsrf.ResourceContext


    // HELPER
    // -------------------------------------------------------------------------

    protected EnsembleResource getEnsembleResource()
            throws ResourceException, ResourceContextException {
        final ResourceContext context =
                    ResourceContext.getResourceContext();
        return (EnsembleResource)context.getResource();
    }
View Full Code Here


    // HELPER
    // -------------------------------------------------------------------------

    protected GroupResource getGroupResource()
            throws ResourceException, ResourceContextException {
        final ResourceContext context =
                    ResourceContext.getResourceContext();
        return (GroupResource)context.getResource();
    }
View Full Code Here

    // -------------------------------------------------------------------------
    // HELPER
    // -------------------------------------------------------------------------

    protected StatusResource getStatusResource() throws Exception {
        final ResourceContext context =
                    ResourceContext.getResourceContext();
        return (StatusResource)context.getResource();
    }
View Full Code Here

    // -------------------------------------------------------------------------
    // HELPER
    // -------------------------------------------------------------------------

    protected FactoryResource getFactoryResource() throws Exception {
        final ResourceContext context =
                    ResourceContext.getResourceContext();
        return (FactoryResource)context.getResource();
    }
View Full Code Here

    private static ContextBrokerResource getResource()
            throws Exception {
       
        try {
            final ResourceContext context =
                    ResourceContext.getResourceContext();
            return (ContextBrokerResource)context.getResource();
        } catch (Exception e) {
            final String err = "could not find that context";
            logger.error(err, e);
            throw new Exception(err, e);
        }
View Full Code Here

            throw new Exception(i18n.getMessage("serviceNull"));
        }

        Resource resource = null;
        try {
            final ResourceContext resCtx = ResourceContext
                .getResourceContext((SOAPMessageContext) msgCtx);
            resource = resCtx.getResource();
        } catch (ResourceContextException exp) {
            // Not an issue
        } catch (ResourceException exp) {
            // Not an issue
        }
View Full Code Here

    // HELPER
    // -------------------------------------------------------------------------

    protected InstanceResource getInstanceResource()
            throws ResourceException, ResourceContextException {
        final ResourceContext context =
                    ResourceContext.getResourceContext();
        return (InstanceResource)context.getResource();
    }
View Full Code Here

TOP

Related Classes of org.globus.wsrf.ResourceContext

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.