Searched refs:handler (Results 76 - 100 of 489) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DHttpContextImpl.java45 private HttpHandler handler; field in class:HttpContextImpl
67 this.handler = cb;
74 * returns the handler for this context
78 return handler;
83 throw new NullPointerException ("Null handler parameter");
85 if (handler != null) {
86 throw new IllegalArgumentException ("handler already set");
88 handler = h;
122 * and to the context's exchange handler.
/openjdk7/jdk/src/share/classes/com/sun/beans/decoder/
H A DDocumentHandler.java73 private ElementHandler handler; field in class:DocumentHandler
76 * Creates new instance of document handler.
133 * when handler catches recoverable exceptions.
146 * when handler catches recoverable exceptions.
155 * Returns the owner of this document handler.
157 * @return the owner of this document handler
164 * Sets the owner of this document handler.
166 * @param owner the owner of this document handler
173 * Returns the handler for the element with specified name.
176 * @return the corresponding element handler
192 setElementHandler(String name, Class<? extends ElementHandler> handler) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpRequestTree.java196 handler = h;
200 private final Handler handler; field in class:SnmpRequestTree.Enum
212 if (handler.sublist != null) {
214 return hlist.getSubRequest(handler);
219 Object result = hlist.getSubRequest(handler,entry);
755 // Returns the SnmpMibNode associated with the given handler
758 public SnmpMibNode getMetaNode(Handler handler) { argument
759 return handler.meta;
764 // SnmpMibNode associated with the given handler
767 public int getOidDepth(Handler handler) { argument
778 getSubRequests(Handler handler) argument
859 getSubRequest(Handler handler) argument
870 getSubRequest(Handler handler, SnmpOid oid) argument
888 getSubRequest(Handler handler, int entry) argument
908 put(Object key, Handler handler) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/
H A D_AppEventHandler.java244 openCocoaAboutWindow(); // if the handler is null, fall back to showing the Cocoa default
247 void performUsing(final AboutHandler handler, final _NativeEvent event) { argument
248 handler.handleAbout(new AboutEvent());
253 synchronized void setHandler(final PreferencesHandler handler) { argument
254 super.setHandler(handler);
256 _AppMenuBarHandler.getInstance().setPreferencesMenuItemVisible(handler != null);
257 _AppMenuBarHandler.getInstance().setPreferencesMenuItemEnabled(handler != null);
260 void performUsing(final PreferencesHandler handler, final _NativeEvent event) { argument
261 handler.handlePreferences(new PreferencesEvent());
266 void performUsing(com.apple.eawt._OpenAppHandler handler, _NativeEven argument
353 performUsing(final OpenFilesHandler handler, final _NativeEvent event) argument
366 performUsing(final PrintFilesHandler handler, final _NativeEvent event) argument
378 performUsing(final OpenURIHandler handler, final _NativeEvent event) argument
393 performUsing(final QuitHandler handler, final _NativeEvent event) argument
503 setHandler(final H handler) argument
512 performUsing(final H handler, final _NativeEvent event) argument
531 setHandler(final H handler) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DPendingFuture.java42 private final CompletionHandler<V,? super A> handler; field in class:PendingFuture
60 CompletionHandler<V,? super A> handler,
65 this.handler = handler;
71 CompletionHandler<V,? super A> handler,
75 this.handler = handler;
91 CompletionHandler<V,? super A> handler() { method in class:PendingFuture
92 return handler;
59 PendingFuture(AsynchronousChannel channel, CompletionHandler<V,? super A> handler, A attachment, Object context) argument
70 PendingFuture(AsynchronousChannel channel, CompletionHandler<V,? super A> handler, A attachment) argument
H A DSimpleAsynchronousFileChannelImpl.java178 final CompletionHandler<FileLock,? super A> handler)
189 if (handler == null)
191 Invoker.invokeIndirectly(handler, attachment, null, exc, executor);
195 final PendingFuture<FileLock,A> result = (handler == null) ?
223 if (handler == null) {
226 Invoker.invokeUnchecked(handler, attachment, fli, exc);
292 final CompletionHandler<Integer,? super A> handler)
304 if (handler == null)
306 Invoker.invokeIndirectly(handler, attachment, 0, exc, executor);
310 final PendingFuture<Integer,A> result = (handler
174 implLock(final long position, final long size, final boolean shared, final A attachment, final CompletionHandler<FileLock,? super A> handler) argument
289 implRead(final ByteBuffer dst, final long position, final A attachment, final CompletionHandler<Integer,? super A> handler) argument
345 implWrite(final ByteBuffer src, final long position, final A attachment, final CompletionHandler<Integer,? super A> handler) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DUnixAsynchronousServerSocketChannelImpl.java98 CompletionHandler<AsynchronousSocketChannel,Object> handler;
105 handler = acceptHandler;
114 if (handler == null) {
118 Invoker.invokeIndirectly(this, handler, att, null, x);
176 CompletionHandler<AsynchronousSocketChannel,Object> handler = acceptHandler;
180 // re-enable accepting and invoke handler
183 if (handler == null) {
193 Invoker.invoke(this, handler, att, child, exc);
249 CompletionHandler<AsynchronousSocketChannel,Object> handler)
254 if (handler
248 implAccept(Object att, CompletionHandler<AsynchronousSocketChannel,Object> handler) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURL.java143 * for a protocol handler to load. The policy of this class is that
146 * handler. If none are found (or the property is not specified), the
151 private static final String protocolPathProp = "java.protocol.handler.pkgs";
214 transient URLStreamHandler handler; field in class:URL
240 * protocol, a <i>stream protocol handler</i> object, an instance of
244 * <code>URLStreamHandlerFactory</code> as the stream handler factory,
247 * stream protocol handler.
253 * java.protocol.handler.pkgs
267 * <li>If the previous step fails to find a protocol handler, then the
331 * number, <code>file</code>, and <code>handler</cod
367 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument
505 URL(URL context, String spec, URLStreamHandler handler) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/presentation/rmi/
H A DInvocationHandlerFactoryImpl.java93 * handler on read, and return the invocation handler on the
113 // Create an invocation handler for the methods defined on DynamicStub,
114 // which extends org.omg.CORBA.Object. This handler delegates all
120 // Create an invocation handler that handles any remote interface
125 // Create a composite handler that handles the DynamicStub interface
127 final CompositeInvocationHandler handler =
129 handler.addInvocationHandler( DynamicStub.class,
131 handler.addInvocationHandler( org.omg.CORBA.Object.class,
133 handler
[all...]
/openjdk7/hotspot/src/cpu/zero/vm/
H A DinterpreterRT_zero.cpp114 // For fast signature handlers the "signature handler" is generated
160 SignatureHandler *handler = sshg.handler(); variable
161 handler->finalize();
163 return (address) handler;
167 InterpreterRuntime::SignatureHandler *handler = local
170 handler->finalize();
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DAbstractTranslet.java245 // Holds the translet's message handler - used for <xsl:message>.
246 // The deault message handler dumps a string stdout, but anything can be
251 * Set the translet's message handler - must implement MessageHandler
253 public final void setMessageHandler(MessageHandler handler) { argument
254 _msgHandler = handler;
258 * Pass a message to the message handler - used by Message class.
513 SerializationHandler handler,
572 final SerializationHandler handler
575 transferOutputSettings(handler);
576 handler
512 buildKeys(DOM document, DTMAxisIterator iterator, SerializationHandler handler, int root) argument
590 closeOutputHandler(SerializationHandler handler) argument
607 transform(DOM document, DTMAxisIterator iterator, SerializationHandler handler) argument
614 transform(DOM document, SerializationHandler handler) argument
627 characters(final String string, SerializationHandler handler) argument
664 transferOutputSettings(SerializationHandler handler) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/
H A DXMLStreamBuffer.java300 * If the <code>handler</code> is also an instance of other SAX-based
304 * @param handler
313 public final void writeTo(ContentHandler handler, boolean produceFragmentEvent) throws SAXException { argument
315 p.setContentHandler(handler);
317 p.setLexicalHandler((LexicalHandler)handler);
320 p.setDTDHandler((DTDHandler)handler);
323 p.setErrorHandler((ErrorHandler)handler);
332 public final void writeTo(ContentHandler handler) throws SAXException { argument
333 writeTo(handler,isFragment());
341 * If the <code>handler</cod
354 writeTo(ContentHandler handler, ErrorHandler errorHandler, boolean produceFragmentEvent) argument
369 writeTo(ContentHandler handler, ErrorHandler errorHandler) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/
H A DCancelRequestMessage_1_0.java71 public void callback(MessageHandler handler) argument
74 handler.handleInput(this);
H A DCancelRequestMessage_1_1.java71 public void callback(MessageHandler handler) argument
74 handler.handleInput(this);
H A DCancelRequestMessage_1_2.java71 public void callback(MessageHandler handler) argument
74 handler.handleInput(this);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DErrorReceiverFilter.java48 public void setErrorReceiver( ErrorListener handler ) {
49 core = handler;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/
H A DSchemaCache.java70 ValidatorHandler handler = schema.newValidatorHandler();
71 // fixValidatorBug6246922(handler);
73 return handler;
80 // private void fixValidatorBug6246922(ValidatorHandler handler) {
82 // Field f = handler.getClass().getDeclaredField("errorReporter");
84 // Object errorReporter = f.get(handler);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DErrorReceiverFilter.java50 public void setErrorReceiver( ErrorListener handler ) {
51 core = handler;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/handler/
H A DMessageHandlerContext.java26 package com.sun.xml.internal.ws.api.handler;
34 import javax.xml.ws.handler.MessageContext;
64 * @see javax.xml.ws.handler.soap.SOAPMessageContext#getRoles()
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/sei/
H A DCallbackMethodHandler.java52 final AsyncHandler handler = (AsyncHandler)args[handlerPos];
54 return doInvoke(proxy, args, handler);
/openjdk7/jdk/src/share/native/sun/misc/
H A DSignal.c50 Java_sun_misc_Signal_handle0(JNIEnv *env, jclass cls, jint sig, jlong handler) argument
52 return ptr_to_jlong(JVM_RegisterSignal(sig, jlong_to_ptr(handler)));
/openjdk7/jdk/src/share/classes/java/lang/ref/
H A DReference.java54 * enqueued by the Reference-handler thread. Unregistered instances
108 * References to this list, while the Reference-handler thread removes
156 Thread handler = new ReferenceHandler(tg, "Reference Handler");
160 handler.setPriority(Thread.MAX_PRIORITY);
161 handler.setDaemon(true);
162 handler.start();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/
H A DBridgeContext.java60 * Registers the error handler that receives unmarshalling/marshalling errors.
62 * @param handler
67 public abstract void setErrorHandler(ValidationEventHandler handler); argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/
H A DValidationErrorHandler.java31 import javax.xml.ws.handler.MessageContext;
37 * a custom handler in {@link SchemaValidation}, {@link SchemaValidationFeature}
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/handler/
H A DHandlerException.java26 package com.sun.xml.internal.ws.handler;
32 * Exception thrown by handler-related code. Extends
50 super("handler.nestedError", arg);
54 return "com.sun.xml.internal.ws.resources.handler";

Completed in 337 milliseconds

1234567891011>>