diff options
Diffstat (limited to 'libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java')
| -rw-r--r-- | libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java | 42 |
1 files changed, 4 insertions, 38 deletions
diff --git a/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java b/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java index 0a0f996610e..8e9c7aeb59a 100644 --- a/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java +++ b/libjava/classpath/org/omg/PortableServer/ServantLocatorPOA.java @@ -1,5 +1,5 @@ /* ServantLocatorPOA.java -- - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -59,12 +59,12 @@ import org.omg.PortableServer.ServantLocatorPackage.CookieHolder; * You do not need to derive your servant locator from this stub, * it is enough to implement the {@link ServantLocator} interface. * But you may choose to do this if you need its functional - * {@link #_ids()} method or want to keep default behavior during per- - * or post- invokcations. + * {@link org.omg.PortableServer.ServantActivatorPOA.delegator#_ids()} + * method or want to keep default behaviour during pre- or post- invokcations. * </p> * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ -public class ServantLocatorPOA +public abstract class ServantLocatorPOA extends Servant implements ServantLocatorOperations, InvokeHandler { @@ -74,40 +74,6 @@ public class ServantLocatorPOA final ServantLocatorPOA THIS = this; /** - * It is your responsibility to take the preinvoke actions, if any, - * and also supply an appropriate servant for the current invocation. - * - * The default method instructs POA that the servant cannot be - * provided by locator. The OBJ_ADAPTER exception will be - * thrown by POA, unless it uses the available default servant for all - * invocations. - * - * @specnote in GNU Classpath, returning null means that the - * locator does not supply the servant. - * - * @see ServantLocatorOperations#preinvoke - */ - public Servant preinvoke(byte[] Object_Id, POA poa, String method, - CookieHolder cookie_holder - ) - throws org.omg.PortableServer.ForwardRequest - { - return null; - } - - /** - * It is your responsibility to take the postinvoke actions, if any, - * by overriding this method. The default method does nothing. - * - * @see ServantLocatorOperations#postinvoke - */ - public void postinvoke(byte[] Object_Id, POA poa, String method, - java.lang.Object cookie, Servant servant - ) - { - } - - /** * Our implementation will not call this method. After setting your * manager to POA, it will call incarnate and etherialize directly. */ |

