/openjdk7/jdk/src/share/classes/com/sun/naming/internal/ |
H A D | FactoryEnumeration.java | 40 private List factories; field in class:FactoryEnumeration 54 * <p> Both Class objects and factories are wrapped in weak 59 * @param factories A non-null list 62 FactoryEnumeration(List factories, ClassLoader loader) { argument 63 this.factories = factories; 68 synchronized (factories) { 70 NamedWeakReference ref = (NamedWeakReference) factories.get(posn++); 85 factories.set(posn-1, ref); // replace Class object or null 106 synchronized (factories) { [all...] |
H A D | ResourceManager.java | 287 * objects and factories are wrapped in weak references so as not to 328 List factories = (List) perLoaderCache.get(facProp); 329 if (factories != null) { 331 return factories.size() == 0 ? null 332 : new FactoryEnumeration(factories, loader); 337 factories = new ArrayList(5); 343 factories.add(new NamedWeakReference(c, className)); 348 // System.out.println("adding to cache: " + factories); 349 perLoaderCache.put(facProp, factories); 350 return new FactoryEnumeration(factories, loade [all...] |
/openjdk7/jdk/src/share/classes/javax/naming/ldap/ |
H A D | ControlFactory.java | 43 * factories to return the specific/appropriate control class implementation. 80 * it is the only intended factory and that no other control factories 98 * Creates a control using known control factories. 102 * <li> Use the control factories specified in 109 * If none of the factories can be loaded, 128 * If one of the factories accessed throws an 138 // Get object factories list from environment properties or 140 FactoryEnumeration factories = ResourceManager.getFactories( 143 if (factories == null) { 150 while (answer == null && factories [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tracing/ |
H A D | ProviderFactory.java | 55 HashSet<ProviderFactory> factories = new HashSet<ProviderFactory>(); 63 factories.add(new DTraceProviderFactory()); 73 factories.add(new PrintStreamProviderFactory(ps)); 78 // See how many factories we instantiated, and return an appropriate 80 if (factories.size() == 0) { 82 } else if (factories.size() == 1) { 83 return factories.toArray(new ProviderFactory[1])[0]; 85 return new MultiplexProviderFactory(factories);
|
/openjdk7/jdk/src/share/classes/sun/tracing/ |
H A D | MultiplexProviderFactory.java | 55 private Set<ProviderFactory> factories; field in class:MultiplexProviderFactory 57 public MultiplexProviderFactory(Set<ProviderFactory> factories) { argument 58 this.factories = factories; 63 for (ProviderFactory factory : factories) {
|
/openjdk7/jdk/src/share/classes/javax/naming/spi/ |
H A D | DirectoryManager.java | 48 * for use by service providers for accessing object factories and 49 * state factories, and for getting continuation contexts for 114 * The object factories tried must implement either 141 * factories accessed throws a NamingException. 142 * @exception Exception If one of the factories accessed throws an 146 * other factories to be used in an attempt to create an object. 213 // try using any specified factories 223 FactoryEnumeration factories = ResourceManager.getFactories( 226 if (factories == null) 232 while (answer == null && factories [all...] |
H A D | NamingManager.java | 85 * trying to load object factories. 89 * an ObjectFactoryBuilder. Subsequent object factories will 168 * Creates an object using the factories specified in the 177 FactoryEnumeration factories = ResourceManager.getFactories( 180 if (factories == null) 186 while (answer == null && factories.hasMore()) { 187 factory = (ObjectFactory)factories.next(); 226 * <li> Use the object factories specified in 233 * If none of the factories can be loaded, 276 * factories accesse [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Compile.java | 152 * <dd>This method overrides com.sun.tools.corba.se.idl.Compile.factories and returns your 165 * protected com.sun.tools.corba.se.idl.Factories factories () 235 protected Factories factories () method in class:Compile 366 // Get the factories. 367 Factories factories = factories (); 368 if (factories == null) factories = new Factories (); 370 // Get the argument processor from the factories. 371 Arguments tmpArgs = factories [all...] |
/openjdk7/jdk/test/javax/print/ |
H A D | StreamPrintingOrientation.java | 65 StreamPrintServiceFactory[] factories = PrinterJob.lookupStreamPrintServices(mType); 66 if (factories.length > 0) 67 service = factories[0].getPrintService(fos);
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/ |
H A D | InterfaceGen.java | 75 //factories = (Factories)Compile.compiler.factories (); 145 factories = (Factories)Compile.compiler.factories (); 157 // factories.skeleton ().generate (symbolTable, i); 159 factories.skeleton ().generate (symbolTable, i); 170 factories.stub ().generate (symbolTable, i); 179 factories.helper ().generate (symbolTable, i); 188 factories.holder ().generate (symbolTable, i); 852 protected Factories factories field in class:InterfaceGen [all...] |
H A D | ForwardValueGen.java | 100 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, v); 108 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, v);
|
H A D | ValueGen.java | 109 factories = (Factories)Compile.compiler.factories (); 129 Factories factories = (Factories)Compile.compiler.factories (); 130 factories.skeleton ().generate (symbolTable, v); 139 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, v); 147 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, v); 762 protected Factories factories = null; field in class:ValueGen
|
H A D | EnumGen.java | 104 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, e); 112 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, e);
|
H A D | Compile.java | 191 factory = factories ().symtabFactory (); 197 //protected com.sun.tools.corba.se.idl.Factories factories () 202 //} // factories 205 protected com.sun.tools.corba.se.idl.Factories factories () method in class:Compile 208 } // factories
|
H A D | TypedefGen.java | 94 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, t); 102 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, t);
|
H A D | ValueBoxGen.java | 128 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, v); 136 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, v);
|
H A D | ValueGen24.java | 406 ((Factories)Compile.compiler.factories ()).valueFactory ().generate (symbolTable, v); 414 ((Factories)Compile.compiler.factories ()).defaultFactory ().generate (symbolTable, v);
|
H A D | StructGen.java | 130 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, s); 138 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, s);
|
H A D | UnionGen.java | 122 ((Factories)Compile.compiler.factories ()).helper ().generate (symbolTable, u); 130 ((Factories)Compile.compiler.factories ()).holder ().generate (symbolTable, u);
|
/openjdk7/jdk/test/javax/print/attribute/ |
H A D | ServiceDialogTest.java | 70 StreamPrintServiceFactory[] factories = StreamPrintServiceFactory.lookupStreamPrintServiceFactories(flavor, mType); 71 if (factories.length > 0) { 72 services[0] = factories[0].getPrintService(fos);
|
/openjdk7/jdk/src/share/classes/sun/security/jgss/ |
H A D | ProviderList.java | 120 private HashMap<PreferencesEntry, MechanismFactory> factories = field in class:ProviderList 233 MechanismFactory retVal = factories.get(searchEntry); 243 factories.put(searchEntry, retVal);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ |
H A D | UnmarshallingContext.java | 408 private final Map<Class,Factory> factories = new HashMap<Class, Factory>(); field in class:UnmarshallingContext 411 factories.clear(); 435 factories.put(type,new Factory(factory,m)); 589 if(!factories.isEmpty()) { 590 Factory factory = factories.get(clazz); 602 if(!factories.isEmpty()) { 603 Factory factory = factories.get(beanInfo.jaxbType);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/script/shell/ |
H A D | Main.java | 229 List<ScriptEngineFactory> factories = engineManager.getEngineFactories(); 230 for (ScriptEngineFactory factory: factories) {
|