equal
deleted
inserted
replaced
121 * If present, the value is processed just like above. |
121 * If present, the value is processed just like above. |
122 * </li> |
122 * </li> |
123 * <li> |
123 * <li> |
124 * Use the service-provider loading facilities, defined by the |
124 * Use the service-provider loading facilities, defined by the |
125 * {@link java.util.ServiceLoader} class, to attempt to locate and load an |
125 * {@link java.util.ServiceLoader} class, to attempt to locate and load an |
126 * implementation of the service. |
126 * implementation of the service using the {@linkplain |
|
127 * java.util.ServiceLoader#load(java.lang.Class) default loading mechanism}: |
|
128 * the service-provider loading facility will use the {@linkplain |
|
129 * java.lang.Thread#getContextClassLoader() current thread's context class loader} |
|
130 * to attempt to load the service. If the context class |
|
131 * loader is null, the {@linkplain |
|
132 * ClassLoader#getSystemClassLoader() system class loader} will be used. |
127 * <br> |
133 * <br> |
128 * Each potential service provider is required to implement the method |
134 * Each potential service provider is required to implement the method |
129 * {@link #isObjectModelSupported(String objectModel)}. |
135 * {@link #isObjectModelSupported(String objectModel)}. |
130 * The first service provider found that supports the specified object |
136 * The first service provider found that supports the specified object |
131 * model is returned. |
137 * model is returned. |