1 | <?php |
||
38 | class LocalContextConnection implements ConnectionInterface |
||
39 | { |
||
40 | |||
41 | /** |
||
42 | * The storage for the sessions. |
||
43 | * |
||
44 | * @var \AppserverIo\Collections\CollectionInterface |
||
45 | */ |
||
46 | protected $sessions = null; |
||
47 | |||
48 | /** |
||
49 | * The application instance. |
||
50 | * |
||
51 | * @var \AppserverIo\Psr\Application\ApplicationInterface |
||
52 | */ |
||
53 | protected $application; |
||
54 | |||
55 | /** |
||
56 | * The bean manager instance to load the local bean instance with. |
||
57 | * |
||
58 | * @var \AppserverIo\Psr\EnterpriseBeans\BeanContextInterface |
||
59 | */ |
||
60 | protected $beanManager; |
||
61 | |||
62 | /** |
||
63 | * The local bean instance we're the proxy for. |
||
64 | * |
||
65 | * @var object |
||
66 | */ |
||
67 | protected $instance; |
||
68 | |||
69 | /** |
||
70 | * Injects the application instance for the local connection. |
||
71 | * |
||
72 | * @param \AppserverIo\Psr\Application\ApplicationInterface $application The application instance |
||
73 | * |
||
74 | * @return void |
||
75 | */ |
||
76 | public function injectApplication(ApplicationInterface $application) |
||
80 | |||
81 | /** |
||
82 | * Returns the application instance. |
||
83 | * |
||
84 | * @return \AppserverIo\Psr\Application\ApplicationInterface The application instance |
||
85 | */ |
||
86 | public function getApplication() |
||
90 | |||
91 | /** |
||
92 | * Injects the collection for the sessions. |
||
93 | * |
||
94 | * @param \AppserverIo\Collections\CollectionInterface $sessions The collection for the sessions |
||
95 | * |
||
96 | * @return void |
||
97 | */ |
||
98 | public function injectSessions(CollectionInterface $sessions) |
||
102 | |||
103 | /** |
||
104 | * Returns the collection with the sessions. |
||
105 | * |
||
106 | * @return \AppserverIo\Collections\CollectionInterface The collection with the sessions |
||
107 | */ |
||
108 | public function getSessions() |
||
112 | |||
113 | /** |
||
114 | * Sends the remote method call to the container instance. |
||
115 | * |
||
116 | * @param \AppserverIo\RemoteMethodInvocation\RemoteMethodInterface $remoteMethod The remote method instance |
||
117 | * |
||
118 | * @return mixed The response from the container |
||
119 | * @see AppserverIo\RemoteMethodInvocation\ConnectionInterface::send() |
||
120 | */ |
||
121 | public function send(RemoteMethodInterface $remoteMethod) |
||
125 | |||
126 | /** |
||
127 | * Initializes a new session instance. |
||
128 | * |
||
129 | * @return \AppserverIo\RemoteMethodInvocation\SessionInterface The session instance |
||
130 | * @see \AppserverIo\RemoteMethodInvocation\ConnectionInterface::createContextSession() |
||
131 | */ |
||
132 | public function createContextSession() |
||
137 | } |
||
138 |
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.