183 |
* </UL> |
* </UL> |
184 |
* @fixme fill in the rest of the methods which use the global lock. |
* @fixme fill in the rest of the methods which use the global lock. |
185 |
*/ |
*/ |
186 |
public static final Object globalHierarchyLock = new Object(); |
Object globalHierarchyLock = new Object(); |
187 |
|
|
188 |
/** |
/** |
189 |
* Instantiate a Bean using this Bean's <code>ClassLoader</code> |
* Instantiate a Bean using this Bean's <code>ClassLoader</code> |
204 |
* @exception ClassNotFoundException if a serialized Bean's class |
* @exception ClassNotFoundException if a serialized Bean's class |
205 |
* is not found. |
* is not found. |
206 |
*/ |
*/ |
207 |
public Object instantiateChild(String beanName) |
Object instantiateChild(String beanName) |
208 |
throws IOException, |
throws IOException, |
209 |
ClassNotFoundException; |
ClassNotFoundException; |
210 |
|
|
230 |
* @param requestor a reference to the child requesting the resource. |
* @param requestor a reference to the child requesting the resource. |
231 |
* @see java.lang.ClassLoader#getResource(java.lang.String) |
* @see java.lang.ClassLoader#getResource(java.lang.String) |
232 |
*/ |
*/ |
233 |
public URL getResource(String resourceName, BeanContextChild requestor); |
URL getResource(String resourceName, BeanContextChild requestor); |
234 |
|
|
235 |
/** |
/** |
236 |
* Get a resource as a stream. The <code>BeanContext</code> will |
* Get a resource as a stream. The <code>BeanContext</code> will |
254 |
* @param requestor a reference to the child requesting the resource. |
* @param requestor a reference to the child requesting the resource. |
255 |
* @see java.lang.ClassLoader#getResourceAsStream(java.lang.String) |
* @see java.lang.ClassLoader#getResourceAsStream(java.lang.String) |
256 |
*/ |
*/ |
257 |
public InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); |
InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); |
258 |
|
|
259 |
/** |
/** |
260 |
* Add a listener on changes to the membership of this |
* Add a listener on changes to the membership of this |
261 |
* <code>BeanContext</code> object. |
* <code>BeanContext</code> object. |
262 |
* @param listener the listener to add. |
* @param listener the listener to add. |
263 |
*/ |
*/ |
264 |
public void addBeanContextMembershipListener(BeanContextMembershipListener listener); |
void addBeanContextMembershipListener(BeanContextMembershipListener listener); |
265 |
|
|
266 |
/** |
/** |
267 |
* Remove a listener on changes to the membership of this |
* Remove a listener on changes to the membership of this |
268 |
* <code>BeanContext</code> object. |
* <code>BeanContext</code> object. |
269 |
* @param listener the listener to remove. |
* @param listener the listener to remove. |
270 |
*/ |
*/ |
271 |
public void removeBeanContextMembershipListener(BeanContextMembershipListener listener); |
void removeBeanContextMembershipListener(BeanContextMembershipListener listener); |
272 |
} |
} |