< prev index next >

src/java.base/share/classes/java/util/ServiceLoader.java

Print this page
rev 58552 : [mq]: 8241727-Typos-empty-lines-in-javadoc-inconsistent-indents-etc

*** 1,7 **** /* ! * Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 197,207 **** * provider when another module, with a <i>uses</i> directive for the service, * obtains a service loader for the service. It is strongly recommended that the * module does not export the package containing the service provider. There is * no support for a module specifying, in a <i>provides</i> directive, a service * provider in another module. ! * <p> A service provider that is developed in a module has no control over when * it is instantiated, since that occurs at the behest of the application, but it * does have control over how it is instantiated: * * <ul> --- 197,207 ---- * provider when another module, with a <i>uses</i> directive for the service, * obtains a service loader for the service. It is strongly recommended that the * module does not export the package containing the service provider. There is * no support for a module specifying, in a <i>provides</i> directive, a service * provider in another module. ! * * <p> A service provider that is developed in a module has no control over when * it is instantiated, since that occurs at the behest of the application, but it * does have control over how it is instantiated: * * <ul>
< prev index next >