Searched refs:BeanContextChild (Results 1 - 9 of 9) sorted by relevance

/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextProxy.java40 * BeanContextChild interface
45 * obtain a particular subinterface of BeanContextChild as follows:
47 * BeanContextChild bcc = o.getBeanContextProxy();
55 * BeanContextChild bcc = o.getBeanContextProxy();
72 * @see java.beans.beancontext.BeanContextChild
79 * Gets the <code>BeanContextChild</code> (or subinterface)
81 * @return the <code>BeanContextChild</code> (or subinterface)
84 BeanContextChild getBeanContextProxy();
H A DBeanContext.java48 * @see java.beans.beancontext.BeanContextChild
56 public interface BeanContext extends BeanContextChild, Collection, DesignMode, Visibility {
88 InputStream getResourceAsStream(String name, BeanContextChild bcc) throws IllegalArgumentException;
103 URL getResource(String name, BeanContextChild bcc) throws IllegalArgumentException;
H A DBeanContextServices.java42 * to expose generic "services" to the BeanContextChild objects within.
96 * A <code>BeanContextChild</code>, or any arbitrary object
97 * associated with a <code>BeanContextChild</code>, may obtain
103 * @param child the <code>BeanContextChild</code>
115 Object getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException;
118 * Releases a <code>BeanContextChild</code>'s
119 * (or any arbitrary object associated with a BeanContextChild)
122 * @param child the <code>BeanContextChild</code>
126 void releaseService(BeanContextChild child, Object requestor, Object service);
H A DBeanContextChild.java41 * Conformant BeanContexts shall as a side effect of adding a BeanContextChild
46 * Note that a BeanContextChild may refuse a change in state by throwing
50 * In order for persistence mechanisms to function properly on BeanContextChild
68 public interface BeanContextChild { interface
81 * BeanContextChild may be vetoed by throwing the appropriate exception.
84 * to associate this <code>BeanContextChild</code>.
92 * with this <code>BeanContextChild</code>.
94 * with this <code>BeanContextChild</code>.
100 * to this <code>BeanContextChild</code>
110 * <code>BeanContextChild</cod
[all...]
H A DBeanContextChildSupport.java45 * BeanContextChild protocol.
56 * @see java.beans.beancontext.BeanContextChild
59 public class BeanContextChildSupport implements BeanContextChild, BeanContextServicesListener, Serializable {
79 * itself implements BeanContextChild, and encapsulates this, delegating
83 public BeanContextChildSupport(BeanContextChild bcc) {
232 * Gets the <tt>BeanContextChild</tt> associated with this
235 * @return the <tt>BeanContextChild</tt> peer of this class
237 public BeanContextChild getBeanContextChildPeer() { return beanContextChildPeer; }
305 * BeanContextChild should be obtained from the current BeanContext.
348 * this <code>BeanContextChild</cod
[all...]
H A DBeanContextServiceAvailableEvent.java28 import java.beans.beancontext.BeanContextChild;
H A DBeanContextSupport.java397 // newly added child if it implements the java.beans.beancontext.BeanContextChild interface
399 BeanContextChild cbcc = getChildBeanContextChild(targetChild);
400 BeanContextChild bccp = null;
512 // it implements java.beans.beancontext.BeanContextChild
516 BeanContextChild cbcc = getChildBeanContextChild(targetChild);
661 public InputStream getResourceAsStream(String name, BeanContextChild bcc) {
680 public URL getResource(String name, BeanContextChild bcc) {
1028 BeanContextChild bcc = null;
1031 bcc = (BeanContextChild)child;
1233 * Gets the BeanContextChild (i
[all...]
H A DBeanContextServicesSupport.java819 public Object getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException {
884 public void releaseService(BeanContextChild child, Object requestor, Object service) {
1005 * being used by this child if it is a BeanContextChild.
1018 * called from setBeanContext to notify a BeanContextChild
1046 * called from setBeanContext to notify a BeanContextChild
/openjdk7/jdk/test/java/beans/beancontext/
H A DTest4328406.java31 import java.beans.beancontext.BeanContextChild;
42 BeanContextChild ms1 = new MyService1();
44 BeanContextChild mb = new MyBean();

Completed in 832 milliseconds