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

1234567891011>>

/openjdk7/jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/
H A DLazyReflectiveObjectGenerator.java28 import sun.reflect.generics.factory.GenericsFactory;
37 * The visitor needs to be initialized with a factory, which will be
39 * The factory should be cached.
43 private GenericsFactory factory; // cached factory field in class:LazyReflectiveObjectGenerator
46 factory = f;
49 // accessor for factory
51 return factory;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/asm/sparc/
H A DIllegalInstructionDecoder.java30 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
31 return factory.newIllegalInstruction(instruction);
H A DUnimpDecoder.java30 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
31 return factory.newUnimpInstruction(instruction & DISP_22_MASK);
H A DJmplDecoder.java35 SPARCRegister rd, SPARCInstructionFactory factory) {
39 instr = factory.newIndirectCallInstruction(addr, rd);
44 instr = factory.newReturnInstruction(addr, rd, false /* not leaf */);
46 instr = factory.newReturnInstruction(addr, rd, true /* leaf */);
48 instr = factory.newJmplInstruction(addr, rd);
51 instr = factory.newJmplInstruction(addr, rd);
34 decodeMemoryInstruction(int instruction, SPARCRegisterIndirectAddress addr, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DFPopDecoder.java32 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
35 return (decoder == null) ? factory.newIllegalInstruction(instruction)
36 : decoder.decode(instruction, factory);
H A DCallDecoder.java30 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
33 return factory.newCallInstruction(new PCRelativeAddress(offset));
H A DFlushDecoder.java35 SPARCRegister rd, SPARCInstructionFactory factory) {
36 return factory.newFlushInstruction(addr);
34 decodeMemoryInstruction(int instruction, SPARCRegisterIndirectAddress addr, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DRestoreDecoder.java38 SPARCInstructionFactory factory) {
39 return factory.newRestoreInstruction(rs1, operand2, rd);
34 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DRettDecoder.java35 SPARCRegister rd, SPARCInstructionFactory factory) {
36 return factory.newRettInstruction(addr);
34 decodeMemoryInstruction(int instruction, SPARCRegisterIndirectAddress addr, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DSaveDecoder.java38 SPARCInstructionFactory factory) {
39 return factory.newSaveInstruction(rs1, operand2, rd);
34 decodeFormat3AInstruction(int instruction, SPARCRegister rs1, ImmediateOrRegister operand2, SPARCRegister rd, SPARCInstructionFactory factory) argument
H A DSpecialLoadDecoder.java36 SPARCInstructionFactory factory) {
37 return factory.newSpecialLoadInstruction(name, specialRegNum, cregNum, addr);
34 decodeSpecialLoadStoreInstruction(int cregNum, SPARCRegisterIndirectAddress addr, SPARCInstructionFactory factory) argument
H A DSpecialStoreDecoder.java36 SPARCInstructionFactory factory) {
37 return factory.newSpecialStoreInstruction(name, specialRegNum, cregNum, addr);
34 decodeSpecialLoadStoreInstruction(int cregNum, SPARCRegisterIndirectAddress addr, SPARCInstructionFactory factory) argument
H A DTrapDecoder.java39 Instruction decode(int instruction, SPARCInstructionFactory factory) { argument
41 return factory.newTrapInstruction(getTrapConditionName(conditionCode),
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DSerializerFactory.java51 SerializerFactory factory;
57 // any factory specified in the properties file and supporting
58 // the same method will override the default factory.
59 factory = new SerializerFactoryImpl( Method.XML );
60 registerSerializerFactory( factory );
61 factory = new SerializerFactoryImpl( Method.HTML );
62 registerSerializerFactory( factory );
63 factory = new SerializerFactoryImpl( Method.XHTML );
64 registerSerializerFactory( factory );
65 factory
[all...]
/openjdk7/jdk/test/sun/security/smartcardio/
H A DTestDefault.java41 TerminalFactory factory = TerminalFactory.getDefault();
42 System.out.println("Type: " + factory.getType());
43 List<CardTerminal> terminals = factory.terminals().list();
/openjdk7/jdk/src/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 synchronized static void setInstance(SurfaceManagerFactory factory) { argument
70 if (factory
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/soql/
H A DJSJavaObject.java32 public JSJavaObject(Oop oop, JSJavaFactory factory) { argument
34 this.factory = factory;
59 protected final JSJavaFactory factory; field in class:JSJavaObject
/openjdk7/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...]
/openjdk7/jdk/src/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 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;
/openjdk7/corba/src/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 ) ;
/openjdk7/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();
/openjdk7/langtools/test/tools/apt/Compile/
H A DWrappedStaticApf.java33 AnnotationProcessorFactory factory = new StaticApf();
34 System.exit(com.sun.tools.apt.Main.process(factory, argv));
/openjdk7/jdk/test/java/security/cert/CertificateFactory/
H A DBadX509CertData.java39 CertificateFactory factory = CertificateFactory.getInstance("X.509");
42 Certificate cert = factory.generateCertificate(is);
/openjdk7/jdk/src/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...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/dt/builtin/
H A DBuiltinDatatypeLibrary.java57 private final DatatypeLibraryFactory factory; field in class:BuiltinDatatypeLibrary
60 BuiltinDatatypeLibrary(DatatypeLibraryFactory factory) { argument
61 this.factory = factory;
67 factory.createDatatypeLibrary(

Completed in 84 milliseconds

1234567891011>>