/openjdk7/jdk/test/java/util/ResourceBundle/ |
H A D | Bug4168625Class.java | 46 /** return the specified resource or null if not found */ 47 public ResourceBundle getResourceBundle(String resource, Locale locale) { argument 49 return ResourceBundle.getBundle(resource, locale);
|
H A D | Bug4168625Getter.java | 52 /** return the specified resource or null if not found */ 53 public ResourceBundle getResourceBundle(String resource, Locale locale); argument
|
H A D | Bug4179766Class.java | 64 /** return the specified resource or null if not found */ 65 public ResourceBundle getResourceBundle(String resource) { argument 67 return ResourceBundle.getBundle(resource);
|
H A D | Bug4179766Getter.java | 70 /** return the specified resource or null if not found */ 71 public ResourceBundle getResourceBundle(String resource); argument
|
/openjdk7/jdk/test/javax/management/modelmbean/ |
H A D | RequiredModelMBeanSetAttributeTest.java | 104 mmb.setManagedResource(resource, "ObjectReference"); 159 private static Resource resource = new Resource(); field in class:RequiredModelMBeanSetAttributeTest
|
H A D | RequiredModelMBeanGetAttributeTest.java | 269 mmb.setManagedResource(resource, "ObjectReference"); 404 private static Resource resource = new Resource(); field in class:RequiredModelMBeanGetAttributeTest
|
H A D | RequiredModelMBeanMethodTest.java | 43 * - A plain operation that is directed to the managed resource in the 53 * RequiredModelMBean operation but is directed to the resource 57 * RequiredModelMBean operation but is directed to the resource 112 storeDescriptor.setField("targetObject", resource); 124 emptyMMB.setManagedResource(resource, "ObjectReference"); 150 fullMMB.setManagedResource(resource, "ObjectReference"); 159 "descriptor directs methods to resource"); 173 if (!resource.loadCalled || !resource.storeCalled) { 175 (resource 333 private static Resource resource = new Resource(); field in class:RequiredModelMBeanMethodTest [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/ |
H A D | ResourceLoader.java | 42 * Returns the actual location of the resource from the 'resource' arg 56 * URL getResource(String resource) { 57 * return servletContext.getResource("/WEB-INF/"+resource); 61 * @param resource Designates a path that is understood by the container. The 62 * implementations must support "jax-ws-catalog.xml" resource. 66 public abstract URL getResource(String resource) throws MalformedURLException; argument
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/ |
H A D | StandardMBeanSupport.java | 43 * <p>Construct a Standard MBean that wraps the given resource using the 46 * @param resource the underlying resource for the new MBean. 51 * that {@code resource} implements {@code mbeanInterfaceType}, 54 * @throws IllegalArgumentException if {@code resource} is null or 58 public <T> StandardMBeanSupport(T resource, Class<T> mbeanInterfaceType) argument 60 super(resource, mbeanInterfaceType);
|
H A D | MXBeanSupport.java | 47 <p>Construct an MXBean that wraps the given resource using the 50 @param resource the underlying resource for the new MXBean. 56 that {@code resource} implements {@code mxbeanInterface}, 60 @throws IllegalArgumentException if {@code resource} is null or 64 public <T> MXBeanSupport(T resource, Class<T> mxbeanInterface) argument 66 super(resource, mxbeanInterface); 81 throw new IllegalArgumentException("Null resource class");
|
H A D | MBeanSupport.java | 125 <T> MBeanSupport(T resource, Class<T> mbeanInterfaceType) argument 129 if (!mbeanInterfaceType.isInstance(resource)) { 131 "Resource class " + resource.getClass().getName() + 136 this.resource = resource; 139 this.mbeanInfo = introspector.getMBeanInfo(resource, perInterface); 166 if (resource instanceof MBeanRegistration) 167 name = ((MBeanRegistration) resource).preRegister(server, name); 181 if (resource instanceof MBeanRegistration) 182 ((MBeanRegistration) resource) 274 private final Object resource; field in class:MBeanSupport [all...] |
H A D | PerInterface.java | 69 Object getAttribute(Object resource, String attribute, Object cookie) argument 83 return introspector.invokeM(cm, resource, (Object[]) null, cookie); 86 void setAttribute(Object resource, String attribute, Object value, argument 102 introspector.invokeSetter(attribute, cm, resource, value, cookie); 105 Object invoke(Object resource, String operation, Object[] params, argument 112 return noSuchMethod(msg, resource, operation, params, signature, 135 return noSuchMethod(msg, resource, operation, params, signature, 138 return introspector.invokeM(found.method, resource, params, cookie); 162 private Object noSuchMethod(String msg, Object resource, String operation, argument 211 return introspector.invokeM(method, resource, param [all...] |
H A D | MBeanIntrospector.java | 387 * Return the MBeanInfo for the given resource, based on the given 390 final MBeanInfo getMBeanInfo(Object resource, PerInterface<M> perInterface) { argument 392 getClassMBeanInfo(resource.getClass(), perInterface); 393 MBeanNotificationInfo[] notifs = findNotifications(resource);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/ |
H A D | ConsoleErrorReporter.java | 78 private void print( String resource, SAXParseException e ) { argument 79 output.println(Messages.format(resource,e.getMessage()));
|
/openjdk7/jdk/test/java/util/Locale/ |
H A D | GenerateKeyList.java | 68 public static void dumpResource(String pathName, Object resource, PrintStream out) argument 70 if (resource instanceof String[]) { 71 String[] stringList = (String[])resource; 75 else if (resource instanceof String[][]) { 76 String[][] stringArray = (String[][])resource;
|
/openjdk7/jdk/src/share/classes/sun/tracing/dtrace/ |
H A D | Activation.java | 34 private SystemResource resource; field in class:Activation 48 resource = new SystemResource( 54 resource.dispose(); 60 * The native resource part of an Activation. 71 * {@code dispose} calls will unregister the native resource and remove 99 SystemResource resource = null; 100 while ((resource = (SystemResource)referenceQueue.poll()) != null) { 101 if (resource.handle != 0) { 102 resource.dispose();
|
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/ |
H A D | DriverResource.java | 58 private static final Object[][] resource= { field in class:DriverResource 127 return resource;
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SimpleSoundbank.java | 114 public void addResource(SoundbankResource resource) { argument 115 if (resource instanceof Instrument) 116 instruments.add((Instrument) resource); 118 resources.add(resource); 121 public void removeResource(SoundbankResource resource) { argument 122 if (resource instanceof Instrument) 123 instruments.remove((Instrument) resource); 125 resources.remove(resource); 128 public void addInstrument(Instrument resource) { argument 129 instruments.add(resource); 132 removeInstrument(Instrument resource) argument [all...] |
H A D | SF2Soundbank.java | 948 public void addResource(SoundbankResource resource) { argument 949 if (resource instanceof SF2Instrument) 950 instruments.add((SF2Instrument)resource); 951 if (resource instanceof SF2Layer) 952 layers.add((SF2Layer)resource); 953 if (resource instanceof SF2Sample) 954 samples.add((SF2Sample)resource); 957 public void removeResource(SoundbankResource resource) { argument 958 if (resource instanceof SF2Instrument) 959 instruments.remove((SF2Instrument)resource); 966 addInstrument(SF2Instrument resource) argument 970 removeInstrument(SF2Instrument resource) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/keyresolver/implementations/ |
H A D | RetrievalMethodResolver.java | 97 XMLSignatureInput resource=resolveInput(rm,BaseURI); 100 X509Certificate cert=getRawCertificate(resource); 106 Element e = obtainRefrenceElement(resource); 122 static private Element obtainRefrenceElement(XMLSignatureInput resource) throws CanonicalizationException, ParserConfigurationException, IOException, SAXException, KeyResolverException { argument 124 if (resource.isElement()){ 125 e=(Element) resource.getSubNode(); 126 } else if (resource.isNodeSet()) { 127 //Retrieved resource is a nodeSet 128 e=getDocumentElement(resource.getNodeSet()); 130 //Retrieved resource i 216 getRawCertificate(XMLSignatureInput resource) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/server/ |
H A D | AbstractInstanceResolver.java | 51 * convenience methods to do the resource injection. 62 void inject(T instance,R resource); argument 79 public void inject(final T instance, final R resource) { argument 86 field.set(instance,resource); 110 public void inject(T instance, R resource) { argument 111 invokeMethod(method, instance, resource); 192 * Creates an {@link InjectionPlan} that injects the given resource type to the given class. 205 Resource resource = field.getAnnotation(Resource.class); 206 if (resource != null) { 207 if(isInjectionPoint(resource, fiel 248 isInjectionPoint(Resource resource, Class fieldType, Localizable errorMessage, Class resourceType ) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicLookAndFeel.java | 2012 * identifies the sound resource to load when 2014 * sound resource is loaded into a {@code byte[]} by way of 2036 * not. Store the resource String. I is used to get the audio 2037 * resource. In this case, the resource is an audio file. 2052 * points to the audio resource. 2055 public AudioAction(String name, String resource) { argument 2057 audioResource = resource; 2128 /* Copy resource into a byte array. This is 2139 InputStream resource [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/privateutil/ |
H A D | PolicyUtils.java | 97 * If the {@code resource} is not {@code null}, this method will try to close the 98 * {@code resource} instance and log warning about any unexpected 101 * @param resource resource to be closed 103 public static void closeResource(Closeable resource) { argument 104 if (resource != null) { 106 resource.close(); 108 LOGGER.warning(LocalizationMessages.WSP_0023_UNEXPECTED_ERROR_WHILE_CLOSING_RESOURCE(resource.toString()), e); 118 * @param reader resource to be closed 338 * Generates a config file resource nam [all...] |
/openjdk7/jdk/test/sun/misc/JarIndex/metaInfFilenames/ |
H A D | Basic.java | 336 /* Tries to find a resource in a similar way to the font manager in javafx 339 String resource, 344 debug("Running test looking for " + resource); 356 URL u = ADotAKlass.getResource(resource); 358 System.out.println("Expected to find " + resource + " but didn't"); 439 System.out.println("Unexpected resource request" + path); 338 klassLoader(URL baseURL, String resource, boolean expectToFind, boolean expectbDotJar, boolean expectcDotJar) argument
|
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/ |
H A D | WindowsLookAndFeel.java | 2088 * not. Store the resource String. It is used to get the audio 2089 * resource. In this case, the resource is a <code>Runnable</code> 2101 * the underlying OSes audio resource. 2103 public AudioAction(String name, String resource) { argument 2105 audioResource = resource; 2121 * otherwise gets it from an image resource file. 2125 private String resource; field in class:WindowsLookAndFeel.LazyWindowsIcon 2127 LazyWindowsIcon(String nativeImage, String resource) { argument 2129 this.resource [all...] |