-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathServiceLoader.php
More file actions
105 lines (96 loc) Β· 3.46 KB
/
ServiceLoader.php
File metadata and controls
105 lines (96 loc) Β· 3.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\util;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
// use PHPJava\Packages\java\lang\Iterable;
// use PHPJava\Packages\java\util\ServiceLoader\Provider;
// use PHPJava\Packages\java\util\stream\Stream;
/**
* The `ServiceLoader` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class ServiceLoader extends Object_ // implements Iterable, Provider, Stream
{
/**
* Load the first available service provider of this loader's service.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#findFirst
* @param null|mixed $a
* @throws NotImplementedException
*/
public function findFirst($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns an iterator to lazily load and instantiate the available providers of this loader's service.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#iterator
* @param null|mixed $a
* @throws NotImplementedException
*/
public function iterator($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Creates a new service loader for the given service type, using the current thread's context class loader.
* Creates a new service loader for the given service.
* Creates a new service loader for the given service type to load service providers from modules in the given module layer and its ancestors.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#load
* @param null|mixed $a
* @param null|mixed $b
* @throws NotImplementedException
*/
public static function load($a = null, $b = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Creates a new service loader for the given service type, using the platform class loader.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#loadInstalled
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function loadInstalled($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Clear this loader's provider cache so that all providers will be reloaded.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#reload
* @param null|mixed $a
* @throws NotImplementedException
*/
public function reload($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns a stream to lazily load available providers of this loader's service.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#stream
* @param null|mixed $a
* @throws NotImplementedException
*/
public function stream($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns a string describing this service.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#toString
* @param null|mixed $a
* @throws NotImplementedException
*/
public function toString($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}