Searched refs:factory (Results 1 - 25 of 450) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/javax/xml/soap/spi/saaj/factory/
H A DInvalid.java24 package saaj.factory;
/openjdk10/nashorn/samples/
H A Dcheck_nashorn.js39 return engine.factory.engineName.contains("Nashorn");
/openjdk10/langtools/test/tools/javac/lambda/
H A DNestedCapture03.java31 <T extends String> T factory(Class<T> c) { return null; } method in class:NestedCapture03
34 factory(c.asSubclass(String.class)).matches(null);
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serialize/
H A DSerializerFactory.java58 SerializerFactory factory;
64 // any factory specified in the properties file and supporting
65 // the same method will override the default factory.
66 factory = new SerializerFactoryImpl( Method.XML );
67 registerSerializerFactory( factory );
68 factory = new SerializerFactoryImpl( Method.HTML );
69 registerSerializerFactory( factory );
70 factory = new SerializerFactoryImpl( Method.XHTML );
71 registerSerializerFactory( factory );
72 factory
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/module/ServiceProviderTest/
H A DDefaultFactoryWrapperTest.java58 * Return JAXP factory and corresponding factory function.
63 { DocumentBuilderFactory.newInstance(), (Produce)factory -> ((DocumentBuilderFactory)factory).newDocumentBuilder() },
64 { SAXParserFactory.newInstance(), (Produce)factory -> ((SAXParserFactory)factory).newSAXParser() },
65 { SchemaFactory.newInstance(W3C_XML_SCHEMA_NS_URI), (Produce)factory -> ((SchemaFactory)factory).newSchema() },
66 { TransformerFactory.newInstance(), (Produce)factory -> ((TransformerFactory)factory)
79 testFactory(Object factory, Produce<Object, Object> p) argument
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/validation/
H A DSchemaTest.java52 SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
53 factory.setFeature("http://apache.org/xml/features/validate-annotations", true);
54 factory.newSchema(new File(getClass().getResource("Bug8149915.xsd").getFile()));
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/
H A DSurfaceManagerFactory.java32 * This factory creates platform specific VolatileSurfaceManager
48 * Returns the surface manager factory instance. This returns a factory
51 * @return the surface manager factory
62 * Sets the surface manager factory. This may only be called once, and it
63 * may not be set back to {@code null} when the factory is already
66 * @param factory the factory to set
68 public static synchronized void setInstance(SurfaceManagerFactory factory) { argument
70 if (factory
[all...]
/openjdk10/jdk/test/sun/security/smartcardio/
H A DTestDefault.java43 TerminalFactory factory = TerminalFactory.getDefault();
44 System.out.println("Type: " + factory.getType());
45 List<CardTerminal> terminals = factory.terminals().list();
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSMetadata.java32 public JSMetadata(Metadata metadata, JSJavaFactory factory) { argument
34 this.factory = factory;
59 protected final JSJavaFactory factory; field in class:JSMetadata
H A DJSJavaObject.java32 public JSJavaObject(Oop oop, JSJavaFactory factory) { argument
34 this.factory = factory;
59 protected final JSJavaFactory factory; field in class:JSJavaObject
/openjdk10/jdk/src/java.base/share/classes/sun/reflect/generics/repository/
H A DAbstractRepository.java28 import sun.reflect.generics.factory.GenericsFactory;
41 // A factory used to produce reflective objects. Provided when the
43 private final GenericsFactory factory; field in class:AbstractRepository
48 private GenericsFactory getFactory() { return factory;}
66 * should make their constructors private and provide public factory
70 * @param f - a factory that will provide instances of reflective
75 factory = f;
/openjdk10/jdk/test/java/nio/channels/etc/
H A DNetworkChannelTests.java47 static void bindTests(ChannelFactory factory) throws IOException { argument
51 ch = factory.open().bind(new InetSocketAddress(0));
60 ch = factory.open().bind(null);
66 ch = factory.open();
85 static void localAddressTests(ChannelFactory factory) throws IOException { argument
89 ch = factory.open();
145 ChannelFactory factory;
149 factory = new ChannelFactory() {
155 bindTests(factory);
156 localAddressTests(factory);
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/
H A DHotSpotJVMCICompilerConfig.java38 * This factory allows JVMCI initialization to succeed but raises an error if the VM asks JVMCI
65 * Gets the selected system compiler factory.
67 * @return the selected system compiler factory
73 JVMCICompilerFactory factory = null;
77 factory = new DummyCompilerFactory();
81 factory = f;
84 if (factory == null) {
91 if (factory == null) {
93 factory = f;
96 factory
[all...]
/openjdk10/hotspot/src/share/vm/services/
H A DdiagnosticFramework.cpp493 DCmdFactory* DCmdFactory::factory(DCmdSource source, const char* name, size_t len) { function in class:DCmdFactory
495 DCmdFactory* factory = _DCmdFactoryList; local
496 while (factory != NULL) {
497 if (strlen(factory->name()) == len &&
498 strncmp(name, factory->name(), len) == 0) {
499 if(factory->export_flags() & source) {
500 return factory;
505 factory = factory->_next;
510 int DCmdFactory::register_DCmdFactory(DCmdFactory* factory) { argument
552 DCmdFactory* factory = _DCmdFactoryList; local
565 DCmdFactory* factory = _DCmdFactoryList; local
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/ior/
H A DIdentifiableFactoryFinderBase.java61 IdentifiableFactory factory = (IdentifiableFactory)(map.get(
63 return factory ;
70 IdentifiableFactory factory = getFactory( id ) ;
72 if (factory != null)
73 return factory.create( is ) ;
78 public void registerFactory(IdentifiableFactory factory) argument
80 Integer ident = new Integer( factory.getId() ) ;
81 map.put( ident, factory ) ;
/openjdk10/jdk/test/java/lang/Class/asSubclass/
H A DBasicUnit.java45 static <T extends Int> T factory(Class<T> c) throws Throwable { method in class:BasicUnit
49 factory(Class.forName("MyInt").asSubclass(Int.class)).main();
/openjdk10/jdk/test/java/security/cert/CertificateFactory/
H A DBadX509CertData.java39 CertificateFactory factory = CertificateFactory.getInstance("X.509");
42 Certificate cert = factory.generateCertificate(is);
/openjdk10/nashorn/docs/source/
H A DEvalFile.java39 final ScriptEngineManager factory = new ScriptEngineManager();
41 final ScriptEngine engine = factory.getEngineByName("nashorn");
H A DEvalScript.java39 final ScriptEngineManager factory = new ScriptEngineManager();
41 final ScriptEngine engine = factory.getEngineByName("nashorn");
/openjdk10/nashorn/test/script/trusted/
H A Dclassfilter_mozilla_compat.js30 var factory = Java.type('jdk.nashorn.api.scripting.NashornScriptEngineFactory') variable
31 var engine = new factory().getScriptEngine(function(str){
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/stream/
H A DXMLEventLocationTest.java46 XMLEventFactory factory = XMLEventFactory.newInstance();
47 XMLEvent event = factory.createComment("some comment");
53 XMLEventFactory factory = XMLEventFactory.newInstance();
55 factory.setLocation(loc);
56 XMLEvent event = factory.createComment("some comment");
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/spi/
H A DDirectoryManager.java132 * be used in the creation of the object factory and the object.
138 * a factory.
144 * and instantiating the factory and object classes.
145 * A factory should only throw an exception if it does not want
158 ObjectFactory factory;
162 // builder must return non-null factory
163 factory = builder.createObjectFactory(refInfo, environment);
164 if (factory instanceof DirObjectFactory) {
165 return ((DirObjectFactory)factory).getObjectInstance(
168 return factory
[all...]
/openjdk10/jaxws/src/java.xml.ws/share/classes/javax/xml/soap/
H A DMessageFactory.java33 * A factory for creating {@code SOAPMessage} objects.
93 MessageFactory factory = (MessageFactory) FactoryFinder.find(
98 if (factory != null) {
99 return factory;
105 "Unable to create message factory for SOAP: "
113 * of the specified implementation. May be a dynamic message factory,
114 * a SOAP 1.1 message factory, or a SOAP 1.2 message factory. A dynamic
115 * message factory creates messages based on the MIME headers specified
124 * specified message factory implementatio
[all...]
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jimage/decompressor/
H A DResourceDecompressorRepository.java72 private static void registerReaderProvider(ResourceDecompressorFactory factory) { argument
73 factories.put(factory.getName(), factory);
/openjdk10/jdk/test/jdk/lambda/
H A DTestInnerCtorRef.java46 public static<T> A<T> make(Supplier<T> factory) { argument
48 Supplier<T> f = factory;
55 private Helper(Supplier<Foo<T>> factory) { argument

Completed in 381 milliseconds

1234567891011>>