Searched defs:stub (Results 1 - 25 of 62) sorted by relevance

123

/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/
H A DUseCustomSocketFactory.java124 static void checkStub(Object stub, String toCheck) throws RemoteException { argument
125 System.err.println("Ensuring that the stub contains a socket factory string: " +
127 System.err.println(stub);
128 if (stub.toString().indexOf(toCheck) < 0) {
/openjdk7/corba/src/share/classes/org/omg/stub/java/rmi/
H A D_Remote_Stub.java35 package org.omg.stub.java.rmi;
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DRemoteStub.java61 * Sets the remote reference inside the remote stub.
63 * @param stub the remote stub
71 protected static void setRef(RemoteStub stub, RemoteRef ref) { argument
/openjdk7/jdk/test/java/rmi/server/serverStackTrace/
H A DServerStackTrace.java57 private static void __FOO__(Ping stub) argument
60 stub.ping();
70 Ping stub = (Ping) UnicastRemoteObject.exportObject(impl);
74 __FOO__(stub);
H A DSuppressStackTraces.java74 // stub class generated with "rmic -v1.2 ..."
80 // stub and skeleton classes generated with "rmic -v1.1 ..."
88 private static void __FOO__(Pong stub) argument
91 stub.pong();
105 * Verify behavior for both -v1.1 and -v1.2 stub protocols.
124 private static void verifySuppression(Pong stub) throws Exception { argument
125 System.err.println("testing stub for exported object: " + stub);
129 __FOO__(stub);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DStubConnectImpl.java57 /** Connect the stub to the orb if necessary.
58 * @param ior The StubIORImpl for this stub (may be null)
59 * @param proxy The externally visible stub seen by the user (may be the same as stub)
60 * @param stub The stub implementation that extends ObjectImpl
61 * @param orb The ORB to which we connect the stub.
64 org.omg.CORBA.portable.ObjectImpl stub, ORB orb ) throws RemoteException
70 del = StubAdapter.getDelegate( stub );
72 if (del.orb(stub) !
63 connect( StubIORImpl ior, org.omg.CORBA.Object proxy, org.omg.CORBA.portable.ObjectImpl stub, ORB orb ) argument
[all...]
H A DInvocationHandlerFactoryImpl.java72 private transient DynamicStub stub ; field in class:InvocationHandlerFactoryImpl.CustomCompositeInvocationHandlerImpl
76 ((DynamicStubImpl)stub).setSelf( (DynamicStub)proxy ) ;
81 return (Proxy)((DynamicStubImpl)stub).getSelf() ;
84 public CustomCompositeInvocationHandlerImpl( DynamicStub stub )
86 this.stub = stub ;
89 /** Return the stub, which will actually be written to the stream.
98 return stub ;
104 final DynamicStub stub = new DynamicStubImpl(
107 return getInvocationHandler( stub ) ;
[all...]
H A DStubInvocationHandlerImpl.java75 private transient org.omg.CORBA.Object stub ; field in class:StubInvocationHandlerImpl
89 PresentationManager.ClassData classData, org.omg.CORBA.Object stub )
97 this.stub = stub ;
103 Delegate delegate = StubAdapter.getDelegate( stub ) ;
133 delegate = StubAdapter.getDelegate( stub ) ;
145 delegate.request( stub, giopMethodName, true);
152 delegate.invoke( stub, out);
161 delegate.releaseReply( stub, in );
168 ORB orb = (ORB)delegate.orb( stub ) ;
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/
H A DMonitorRootClient.java54 private final Stub stub; field in class:MonitorRootClient
56 MonitorRootClient(final Stub stub) { argument
57 this.stub = stub;
62 com.sun.xml.internal.ws.util.Constants.LoggingDomain + ".client.stub");
70 private Container getContainer() { return stub.owner.getContainer(); }
73 private Map<QName, PortInfo> qnameToPortInfoMap() { return stub.owner.getQNameToPortInfoMap(); }
76 private QName serviceName() { return stub.owner.getServiceName(); }
79 private Class serviceClass() { return stub.owner.getServiceClass(); }
82 private URL wsdlDocumentLocation() { return stub
[all...]
/openjdk7/jdk/test/java/rmi/server/RemoteObject/notExtending/
H A DNotExtending.java42 /** remote stub for this server instance */
43 private Remote stub; field in class:NotExtending
44 /** value of stub's hash code */
50 stub = UnicastRemoteObject.exportObject(this);
51 setHashValue(stub.hashCode());
73 return stub.equals(obj);
96 * Verify that passing stub to server's equals() method
99 if (server.equals(server.stub)) {
101 "Passing stub to server's equals() method succeeded.");
104 "passing stub t
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/presentation/rmi/
H A DStubAdapter.java51 /** Provide access to stub delegate and type id information
52 * independent of the stub type. This class exists because
72 public static boolean isStub( Object stub )
74 return (stub instanceof DynamicStub) ||
75 (stub instanceof ObjectImpl) ;
78 public static void setDelegate( Object stub, Delegate delegate ) argument
80 if (stub instanceof DynamicStub)
81 ((DynamicStub)stub).setDelegate( delegate ) ;
82 else if (stub instanceof ObjectImpl)
83 ((ObjectImpl)stub)
173 connect( Object stub, ORB orb ) argument
197 request( Object stub, String operation, boolean responseExpected ) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DAttributeGen.java89 * more granular interfaceMethod, stub, skeleton, dispatchSkeleton.
117 protected void stub (String className, boolean isAbstract, Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) method in class:AttributeGen
122 super.stub (className, isAbstract, symbolTable, a, stream, index);
128 super.stub (className, isAbstract, symbolTable, a, stream, index + 1);
131 } // stub
H A DFactories.java134 public Stub stub () method in class:Factories
137 } // stub
/openjdk7/hotspot/src/share/vm/code/
H A DicBuffer.hpp46 int _size; // total size of the stub incl. code
48 /* stub code follows here */
73 // stub info
75 oop cached_oop() const; // cached_oop for stub
87 ICStub* stub = (ICStub*) (destination_address - round_to(sizeof(ICStub), CodeEntryAlignment)); local
89 stub->verify();
91 return stub;
H A DicBuffer.cpp88 // object when we need to remove the stub.
91 // Assemble new stub
104 // anybody calling to this stub will trap
119 assert (ic_stub != NULL, "no room for a single stub");
186 if (TraceICBuffer) { tty->print_cr(" create transition stub for " INTPTR_FORMAT, ic->instruction_address()); }
188 // If an transition stub is already associate with the inline cache, then we remove the association.
206 ICStub* stub = ICStub_from_destination_address(ic->stub_address()); local
207 return stub->destination();
212 ICStub* stub = ICStub_from_destination_address(ic->stub_address()); local
213 return stub
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/internal/
H A DIIOPProxy.java48 Object getDelegate(Object stub); argument
53 void setDelegate(Object stub, Object delegate); argument
56 * Returns the ORB associated with the given stub
62 Object getOrb(Object stub); argument
67 void connect(Object stub, Object orb) throws RemoteException; argument
107 * Returns a stub for the given server object.
H A DIIOPHelper.java88 public static Object getDelegate(Object stub) { argument
90 return proxy.getDelegate(stub);
96 public static void setDelegate(Object stub, Object delegate) { argument
98 proxy.setDelegate(stub, delegate);
102 * Returns the ORB associated with the given stub
108 public static Object getOrb(Object stub) { argument
110 return proxy.getOrb(stub);
116 public static void connect(Object stub, Object orb) argument
120 proxy.connect(stub, orb);
182 * Returns a stub fo
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DSubtreeCutter.java54 private static final ContentHandler stub = new DefaultHandler(); field in class:SubtreeCutter
79 super.setContentHandler(stub);
86 if(getContentHandler()!=stub)
/openjdk7/jdk/src/share/classes/sun/security/jgss/wrapper/
H A DGSSCredElement.java72 GSSLibStub stub) throws GSSException {
73 cStub = stub;
71 GSSCredElement(GSSNameElement name, int lifetime, int usage, GSSLibStub stub) argument
H A DGSSNameElement.java57 private static Oid getNativeNameType(Oid nameType, GSSLibStub stub) { argument
61 supportedNTs = stub.inquireNamesForMech();
64 GSSUtil.isSpNegoMech(stub.getMech())) {
67 stub = GSSLibStub.getInstance
69 supportedNTs = stub.inquireNamesForMech();
97 GSSNameElement(long pNativeName, GSSLibStub stub) throws GSSException { argument
98 assert(stub != null);
104 cStub = stub;
108 GSSNameElement(byte[] nameBytes, Oid nameType, GSSLibStub stub) argument
110 assert(stub !
[all...]
/openjdk7/jdk/test/javax/rmi/ssl/
H A DSSLSocketParametersTest.java59 // Get a remote stub for this RMI object
61 Remote stub = toStub(this);
62 System.out.println("Stub = " + stub);
63 return stub;
69 public void runClient(Remote stub) throws IOException { argument
74 Hello obj = (Hello) stub;
135 Remote stub = server.runServer();
137 client.runClient(stub);
154 Remote stub = server.runServer();
156 client.runClient(stub);
[all...]
/openjdk7/corba/src/share/classes/javax/rmi/CORBA/
H A DUtil.java134 * If <code>obj</code> is a value object or a stub object, it is written to
266 * @param stub the stub to test.
270 * the stub and they both share the same ORB instance. The <tt>_is_local()</tt>
277 public static boolean isLocal(Stub stub) throws RemoteException { argument
280 return utilDelegate.isLocal(stub);
H A DUtilDelegate.java118 boolean isLocal(Stub stub) throws RemoteException; argument
/openjdk7/jdk/src/share/classes/com/sun/jmx/remote/protocol/iiop/
H A DIIOPProxyImpl.java54 public Object getDelegate(Object stub) { argument
55 return ((Stub)stub)._get_delegate();
59 public void setDelegate(Object stub, Object delegate) { argument
60 ((Stub)stub)._set_delegate((Delegate)delegate);
64 public Object getOrb(Object stub) { argument
66 return ((Stub)stub)._orb();
73 public void connect(Object stub, Object orb) argument
76 ((Stub)stub).connect((ORB)orb);
/openjdk7/jdk/src/share/classes/java/applet/
H A DApplet.java80 * The stub field will be restored by the reader.
82 transient private AppletStub stub; field in class:Applet
105 * Sets this applet's stub. This is done automatically by the system.
109 * permission if a stub has already been set.
110 * @param stub the new stub.
111 * @exception SecurityException if the caller cannot set the stub
113 public final void setStub(AppletStub stub) { argument
114 if (this.stub != null) {
120 this.stub
[all...]

Completed in 126 milliseconds

123