FileDocCategorySizeDatePackage
WSContainerResolver.javaAPI DocGlassfish v2 API3047Fri May 04 22:36:12 BST 2007com.sun.enterprise.webservice

WSContainerResolver

public class WSContainerResolver extends com.sun.xml.ws.api.server.ContainerResolver
App Server container resolver for registering client side security pipe

Fields Summary
private static final ThreadLocal
refs
Constructors Summary
private WSContainerResolver()

	refs = new ThreadLocal<ServiceReferenceDescriptor>();
	WSContainerResolver resolver = new WSContainerResolver();
        ContainerResolver.setInstance(resolver);
    
    
Methods Summary
public com.sun.xml.ws.api.server.ContainergetContainer()

        ServiceReferenceDescriptor svcRef = refs.get();
        
        if (svcRef != null) {
            return new WSClientContainer(svcRef);
        } else {
            return Container.NONE;
        }
    
public static voidset(com.sun.enterprise.deployment.ServiceReferenceDescriptor ref)

        refs.set(ref);
    
public static voidunset()

        refs.set(null);