/** * Returns the names of the client interfaces of the component to which this * interface belongs. This method returns the fcBindings keys. * * @return the names of the client interfaces of the component to which this * interface belongs. */ public String[] listFc () { Map fcBindings = getFcBindings(); return (String[])fcBindings.keySet().toArray(new String[fcBindings.size()]); }
/** * Returns the names of the client interfaces of the component to which this * interface belongs. This method returns the fcBindings keys. * * @return the names of the client interfaces of the component to which this * interface belongs. */ public String[] listFc () { Map fcBindings = getFcBindings(); return (String[])fcBindings.keySet().toArray(new String[fcBindings.size()]); }
/** * Returns the interface to which the given client interface is bound. More * precisely, returns the server interface to which the client interface whose * name is given is bound. This server interface is necessarily in the same * address space as the client interface (see {@link #bindFc bindFc}). This * method uses the fcBindings map to return its result. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @return the server interface to which the given interface is bound, or <tt> * null</tt> if it is not bound. * @throws NoSuchInterfaceException if the component to which this interface * belongs does not have a client interface whose name is equal to the * given name. */ public Object lookupFc (final String clientItfName) throws NoSuchInterfaceException { Map fcBindings = getFcBindings(); Object result = fcBindings.get(clientItfName); if (result == fcBindings) { result = null; } return result; }
/** * Returns the interface to which the given client interface is bound. More * precisely, returns the server interface to which the client interface whose * name is given is bound. This server interface is necessarily in the same * address space as the client interface (see {@link #bindFc bindFc}). This * method uses the fcBindings map to return its result. * * @param clientItfName the name of a client interface of the component to * which this interface belongs. * @return the server interface to which the given interface is bound, or <tt> * null</tt> if it is not bound. * @throws NoSuchInterfaceException if the component to which this interface * belongs does not have a client interface whose name is equal to the * given name. */ public Object lookupFc (final String clientItfName) throws NoSuchInterfaceException { Map fcBindings = getFcBindings(); Object result = fcBindings.get(clientItfName); if (result == fcBindings) { result = null; } return result; }
_super_bindFc(clientItfName, o); Map fcBindings = getFcBindings(); fcBindings.put(clientItfName, serverItf);
_super_bindFc(clientItfName, o); Map fcBindings = getFcBindings(); fcBindings.put(clientItfName, serverItf);