api/jar/src/main/java/javax/slee/management/SleeProviderFactory.java
public static SleeProvider getSleeProvider(String peerClassName) throws NullPointerException, PeerUnavailableException {
        ClassLoader classloader = SleeProviderFactory.class.getClassLoader();
        if (classloader == null) classloader = ClassLoader.getSystemClassLoader();

        return getSleeProvider(peerClassName, classloader);
    }
public static SleeProvider getSleeProvider(String peerClassName) throws NullPointerException, PeerUnavailableException {
        ClassLoader classloader = SleeProviderFactory.class.getClassLoader();
        if (classloader == null) classloader = ClassLoader.getSystemClassLoader();

        return getSleeProvider(peerClassName, classloader);
    }
public static SleeProvider getSleeProvider ( String peerClassName ) throws NullPointerException , PeerUnavailableException { ClassLoader classloader = SleeProviderFactory . class . getClassLoader ( ) ; if ( classloader == null ) classloader = ClassLoader . getSystemClassLoader ( ) ; return getSleeProvider ( peerClassName , classloader ) ; }
Get an instance of a <code>SleeProvider</code> peer class.  This method is
equivalent to {@link #getSleeProvider(String, ClassLoader) getSleeProvider(peerClassName,
SleeProviderFactory.class.getClassLoader())}.  In the case where the
SleeProviderFactory's class loader is <code>null</code>,
<code>ClassLoader.getSystemClassLoader()</code> is used instead.
@param peerClassName the fully-qualified class name of a class that
implements the <code>SleeProvider</code> interface.
@return an instance of the specified class.
@throws NullPointerException if <code>peerClassName</code> is <code>null</code>.
@throws PeerUnavailableException if the peer class could not be instantiated
or did not implement the <code>SleeProvider</code> interface.
Get an instance of a <code > SleeProvider< / code > peer class . This method is equivalent to {