1 | <?php |
||
36 | class LocalContextConnection implements ConnectionInterface |
||
37 | { |
||
38 | |||
39 | /** |
||
40 | * The storage for the sessions. |
||
41 | * |
||
42 | * @var \AppserverIo\Collections\CollectionInterface |
||
43 | */ |
||
44 | protected $sessions = null; |
||
45 | |||
46 | /** |
||
47 | * The application instance. |
||
48 | * |
||
49 | * @var \AppserverIo\Psr\Application\ApplicationInterface |
||
50 | */ |
||
51 | protected $application; |
||
52 | |||
53 | /** |
||
54 | * The bean manager instance to load the local bean instance with. |
||
55 | * |
||
56 | * @var \AppserverIo\Psr\EnterpriseBeans\BeanContextInterface |
||
57 | */ |
||
58 | protected $beanManager; |
||
59 | |||
60 | /** |
||
61 | * The local bean instance we're the proxy for. |
||
62 | * |
||
63 | * @var object |
||
64 | */ |
||
65 | protected $instance; |
||
66 | |||
67 | /** |
||
68 | * Injects the application instance for the local connection. |
||
69 | * |
||
70 | * @param \AppserverIo\Psr\Application\ApplicationInterface $application The application instance |
||
71 | * |
||
72 | * @return void |
||
73 | */ |
||
74 | public function injectApplication(ApplicationInterface $application) |
||
78 | |||
79 | /** |
||
80 | * Returns the application instance. |
||
81 | * |
||
82 | * @return \AppserverIo\Psr\Application\ApplicationInterface The application instance |
||
83 | */ |
||
84 | public function getApplication() |
||
88 | |||
89 | /** |
||
90 | * Injects the collection for the sessions. |
||
91 | * |
||
92 | * @param \AppserverIo\Collections\CollectionInterface $sessions The collection for the sessions |
||
93 | * |
||
94 | * @return void |
||
95 | */ |
||
96 | public function injectSessions(CollectionInterface $sessions) |
||
100 | |||
101 | /** |
||
102 | * Returns the collection with the sessions. |
||
103 | * |
||
104 | * @return \AppserverIo\Collections\CollectionInterface The collection with the sessions |
||
105 | */ |
||
106 | public function getSessions() |
||
110 | |||
111 | /** |
||
112 | * Sends the remote method call to the container instance. |
||
113 | * |
||
114 | * @param \AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod The remote method instance |
||
115 | * |
||
116 | * @return mixed The response from the container |
||
117 | * @see AppserverIo\RemoteMethodInvocation\ConnectionInterface::send() |
||
118 | */ |
||
119 | public function send(RemoteMethodInterface $remoteMethod) |
||
123 | |||
124 | /** |
||
125 | * Initializes a new session instance. |
||
126 | * |
||
127 | * @return \AppserverIo\RemoteMethodInvocation\SessionInterface The session instance |
||
128 | * @see \AppserverIo\RemoteMethodInvocation\ConnectionInterface::createContextSession() |
||
129 | */ |
||
130 | public function createContextSession() |
||
135 | } |
||
136 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.