equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
68 * @param serviceSelector the service dependent parameter |
68 * @param serviceSelector the service dependent parameter |
69 * for a particular service, or <code>null</code> if not applicable. |
69 * for a particular service, or <code>null</code> if not applicable. |
70 * |
70 * |
71 * @return a reference to the requested service |
71 * @return a reference to the requested service |
72 */ |
72 */ |
73 Object getService(BeanContextServices bcs, Object requestor, Class serviceClass, Object serviceSelector); |
73 Object getService(BeanContextServices bcs, Object requestor, Class<?> serviceClass, Object serviceSelector); |
74 |
74 |
75 /** |
75 /** |
76 * Invoked by <code>BeanContextServices</code>, |
76 * Invoked by <code>BeanContextServices</code>, |
77 * this method releases a nested <code>BeanContextChild</code>'s |
77 * this method releases a nested <code>BeanContextChild</code>'s |
78 * (or any arbitrary object associated with a |
78 * (or any arbitrary object associated with a |
98 * |
98 * |
99 * @param bcs the <code>BeanContextServices</code> for this request |
99 * @param bcs the <code>BeanContextServices</code> for this request |
100 * @param serviceClass the specified service |
100 * @param serviceClass the specified service |
101 * @return the current service selectors for the specified serviceClass |
101 * @return the current service selectors for the specified serviceClass |
102 */ |
102 */ |
103 Iterator getCurrentServiceSelectors(BeanContextServices bcs, Class serviceClass); |
103 Iterator<?> getCurrentServiceSelectors(BeanContextServices bcs, Class<?> serviceClass); |
104 } |
104 } |