FileDocCategorySizeDatePackage
NioProvider.javaAPI DocGlassfish v2 API3012Tue Jun 05 10:53:56 BST 2007com.sun.enterprise.web.connector.grizzly

NioProvider

public abstract class NioProvider extends Object
Nio Provider interface to handle 6562829. AS socket service will use an implementation of this to provide correct keyFor implementation.
author

Fields Summary
private static final String
NIO_PROVIDER_CLASS
private static NioProvider
nioProvider
Constructors Summary
Methods Summary
public static com.sun.enterprise.web.connector.grizzly.NioProvidergetProvider()
Return the Nio Provider in the VM.

     
        try {
           nioProvider = (NioProvider)
           Class.forName(NIO_PROVIDER_CLASS).newInstance();
        } catch (Exception e) {
        }
    
         return nioProvider;
    
public abstract java.nio.channels.SelectionKeykeyFor(java.nio.channels.SelectableChannel channel, java.nio.channels.Selector sel)
Retrieves the key representing the channel's registration with the given selector.