/**
     * <p>A container or an application can set this manually. If not
     * we will use the {@link java.util.ServiceLoader} and use the
     * first service we find.</p>
     *
     * TODO: clarify if this is per 'application' or general?
     *
     * @param provider to use
     */
public static void setCDIProvider(CDIProvider provider)
    {
        //X TODO implement!
        if (provider == null)
        {
            INSTANCE = null;
        }
        else
        {
            INSTANCE = provider.getCDI();
        }
    }
public static void setCDIProvider(CDIProvider provider)
{
//X TODO implement!
if (provider == null)
{
INSTANCE = null;
}
else
{
INSTANCE = provider.getCDI();
}
}
public static void setCDIProvider(CDIProvider provider)
{
//X TODO implement!
if (provider == null)
{
INSTANCE = null;
}
else
{
INSTANCE = provider.getCDI();
}
}
public static void setCDIProvider(CDIProvider provider)
{
//X TODO implement!
if (provider == null)
{
INSTANCE = null;
}
else
{
INSTANCE = provider.getCDI();
}
}