Searched refs:service (Results 26 - 50 of 103) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ktab/
H A DKeyTabEntry.java38 * This class represents a Key Table entry. Each entry contains the service principal of
44 PrincipalName service; field in class:KeyTabEntry
54 service = new_service;
65 return service;
84 String[] names = service.getNameStrings();
H A DKeyTabOutputStream.java64 String[] serviceNames = entry.service.getNameStrings();
73 realm = entry.service.getRealmString().getBytes("8859_1");
86 write32(entry.service.getNameType());
H A DKeyTab.java52 * and retrieving service keys for use in authentication exchanges.
271 * Reads all keys for a service from the keytab file that have
274 * @param service the PrincipalName of the requested service
275 * @return an array containing all the service keys, never null
277 public EncryptionKey[] readServiceKeys(PrincipalName service) { argument
284 if (entry.service.match(service)) {
296 entry.keyType + ") for " + service);
343 * Searches for the service entr
349 findServiceEntry(PrincipalName service) argument
380 addEntry(PrincipalName service, char[] psswd, int kvno, boolean append) argument
471 deleteEntries(PrincipalName service, int etype, int kvno) argument
[all...]
H A DKeyTabInputStream.java74 int principalNum = read(2); //the number of service names.
86 PrincipalName service = new PrincipalName(nameParts, nameType);
87 service.setRealm(realm);
117 return new KeyTabEntry(service, realm, timeStamp, keyVersion, keyType, keyblock);
133 int length = read(2); //length of the realm name or service name
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/
H A DExtendedModelVisitor.java42 for (Service service : model.getServices()) {
43 preVisit(service);
44 for (Port port : service.getPorts()) {
110 postVisit(service);
122 protected void preVisit(Service service) throws Exception {} argument
123 protected void postVisit(Service service) throws Exception {} argument
H A DModelVisitor.java34 public void visit(Service service) throws Exception; argument
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DScheduledTickleService.java46 // our tickle service
76 // my tickle service
77 private final ScheduledExecutorService service; field in class:ScheduledTickleService.ScheduledTickle
88 public ScheduledTickle(int i, ScheduledExecutorService service) { argument
91 this.service = service;
103 if (interval > 0 && ! service.isShutdown()) {
105 ticket = service.scheduleAtFixedRate(this, interval,
/openjdk7/jdk/test/javax/print/PrintSubInputStream/
H A DExample.java59 PrintService service = ServiceUI.printDialog(null, 100, 100,
62 if(service != null)
66 DocPrintJob job = service.createPrintJob();
/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPrinterJob.java128 * // psPrinter can now be set as the service on a PrinterJob
143 * @return a possibly empty array of 2D stream print service factories.
164 * Returns the service (printer) for this printer job.
168 * @return the service for this printer job.
182 * Throws <code>PrinterException</code> if the specified service
185 * @param service a print service that supports 2D printing
186 * @exception PrinterException if the specified service does not support
188 * setting a 2D print service, or the specified service i
193 setPrintService(PrintService service) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/
H A DPolicyUtil.java72 * Adds the dynamically discovered implementations for the given service class
75 * @param <T> The type of the service class.
77 * @param service The service interface.
79 public static <T> void addServiceProviders(Collection<T> providers, Class<T> service) { argument
80 final Iterator<T> foundProviders = ServiceFinder.find(service).iterator();
97 for (WSDLService service : model.getServices().values()) {
98 for (WSDLPort port : service.getPorts()) {
99 final Collection<WebServiceFeature> features = getPortScopedFeatures(policyMap, service.getName(), port.getName());
113 * @param policyMap The service policie
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DRasterPrinterJob.java422 * A convenience method which returns the default service
426 * @return default 2D print service, or null.
430 PrintService service = PrintServiceLookup.lookupDefaultPrintService();
433 if (service != null &&
434 service.isDocFlavorSupported(
436 service.isDocFlavorSupported(
438 return service;
451 * Returns the service (printer) for this printer job.
454 * @return the service for this printer job.
487 * Throws <code>PrinterException</code> if the specified service
495 setPrintService(PrintService service) argument
531 updatePageAttributes(PrintService service, PageFormat page) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextServicesSupport.java170 // create an instance of a service ref
229 throw new UnsupportedOperationException("existing service reference obtained from different BeanContextServiceProvider not supported");
296 * per service reference info ...
323 // note usage of service per requestor, per service
325 synchronized void usingService(Object requestor, Object service, Class serviceClass, BeanContextServiceProvider bcsp, boolean isDelegated, BeanContextServiceRevokedListener bcsrl) throws TooManyListenersException, UnsupportedOperationException { argument
336 if (serviceClassRef == null) { // new service being used ...
340 } else { // existing service ...
348 // now handle mapping from requestor to service(s)
364 serviceRef = (BCSSCServiceRef)services.get(service);
377 releaseService(Object requestor, Object service) argument
790 releaseService(BeanContextServices bcs, Object requestor, Object service) argument
884 releaseService(BeanContextChild child, Object requestor, Object service) argument
[all...]
H A DBeanContextServices.java48 * Adds a service to this BeanContext.
50 * to register a particular service with this context.
51 * If the service has not previously been added, the
53 * the service with the <code>BeanContextServiceProvider</code> and
57 * the addition of the service was successful.
58 * If the given service has already been added, this method
60 * @param serviceClass the service to add
62 * associated with the service
68 * a currently registered service from this context
70 * the service, th
126 releaseService(BeanContextChild child, Object requestor, Object service) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicyMap.java45 * every scope for service, endpoint, operation, and input/output/fault message. It also provide accessibility methods for
302 * Returns all service scope keys stored in this policy map
304 * @return collection of service scope policy map keys stored in the map.
512 * Creates a service policy scope <emph>locator</emph> object, that serves as a access key into
513 * a {@code PolicyMap} where actual service policy scope for given service can be retrieved.
515 * @param service qualified name of the service. Must not be {@code null}.
516 * @throws IllegalArgumentException in case service, port or operation parameter is {@code null}.
518 public static PolicyMapKey createWsdlServiceScopeKey(final QName service) throw argument
533 createWsdlEndpointScopeKey(final QName service, final QName port) argument
549 createWsdlOperationScopeKey(final QName service, final QName port, final QName operation) argument
567 createWsdlMessageScopeKey(final QName service, final QName port, final QName operation) argument
587 createWsdlFaultMessageScopeKey(final QName service, final QName port, final QName operation, final QName fault) argument
595 createOperationOrInputOutputMessageKey(final QName service, final QName port, final QName operation) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/print/
H A DWin32PrintJob.java86 private Win32PrintService service; field in class:Win32PrintJob
116 Win32PrintJob(Win32PrintService service) { argument
117 this.service = service;
121 return service;
311 PrinterState prnState = (PrinterState)service.getAttribute(
315 (PrinterStateReasons)service.getAttribute(
324 if ((PrinterIsAcceptingJobs)(service.getAttribute(
343 if (flavor == null || (!service.isDocFlavorSupported(flavor))) {
367 service
[all...]
/openjdk7/jdk/src/share/classes/javax/print/
H A DPrintServiceLookup.java43 * Typically implementations of this service class are located
50 * The instance methods are implemented by a service provider in a subclass
61 * This check is made on a per lookup service basis to allow flexibility in
113 * @param attributes attributes that the print service must support.
131 * <P> This method is useful to help locate a service that can print
135 * but the lookup service may be able to do this more efficiently.
141 * @param attributes attributes that the print service must
158 * Locates the default print service for this environment.
161 * chosen service is not precisely defined, but a
162 * platform native service, rathe
247 registerService(PrintService service) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/wsdl/
H A DWSDLModelImpl.java125 * Returns the first service QName from insertion order
134 * Returns first port QName from first service as per the insertion order
147 WSDLService service = services.values().iterator().next();
148 Iterator<? extends WSDLPort> iter = service.getPorts().iterator();
162 * @param serviceName non-null service QName
168 WSDLServiceImpl service = services.get(serviceName);
169 if(service != null){
170 WSDLPortImpl port = service.get(portName);
245 for (WSDLServiceImpl service : services.values()) {
246 service
[all...]
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DUnixPrintJob.java95 private PrintService service; field in class:UnixPrintJob
120 UnixPrintJob(PrintService service) { argument
121 this.service = service;
122 mDestination = service.getName();
127 return service;
313 if ((PrinterIsAcceptingJobs)(service.getAttribute(
332 if (flavor == null || (!service.isDocFlavorSupported(flavor))) {
342 if ((service instanceof IPPPrintService) &&
350 ((IPPPrintService)service)
[all...]
/openjdk7/jdk/test/java/awt/print/Dialog/
H A DPaperSizeError.java52 * ie print service exists and supports A4.
55 PrintService service = job.getPrintService();
56 if (service == null ||
57 !service.isAttributeValueSupported(MediaSizeName.ISO_A4,
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/addressing/
H A DWSEndpointReference.java223 @Nullable QName service,
229 this(version, address, service, port, portType, metadata, wsdlAddress, null, referenceParameters, null, null);
241 @Nullable QName service,
248 this(createBufferFromData(version, address, referenceParameters, service, port, portType, metadata, wsdlAddress, null, extns, attributes),
262 @Nullable QName service,
271 createBufferFromData(version, address, referenceParameters, service, port, portType, metadata, wsdlAddress,wsdlTargetNamepsace, elements, attributes),
275 private static XMLStreamBuffer createBufferFromData(AddressingVersion version, String address, List<Element> referenceParameters, QName service, QName port, QName portType, argument
285 writePartialEPRInfoset(writer, version, address, referenceParameters, service, port, portType,
304 private static XMLStreamBuffer createBufferFromData(AddressingVersion version, String address, List<Element> referenceParameters, QName service, QName port, QName portType, argument
314 writePartialEPRInfoset(writer, version, address, referenceParameters, service, por
221 WSEndpointReference(@otNull AddressingVersion version, @NotNull String address, @Nullable QName service, @Nullable QName port, @Nullable QName portType, @Nullable List<Element> metadata, @Nullable String wsdlAddress, @Nullable List<Element> referenceParameters) argument
239 WSEndpointReference(@otNull AddressingVersion version, @NotNull String address, @Nullable QName service, @Nullable QName port, @Nullable QName portType, @Nullable List<Element> metadata, @Nullable String wsdlAddress, @Nullable List<Element> referenceParameters, @Nullable Collection<EPRExtension> extns,@Nullable Map<QName, String> attributes) argument
260 WSEndpointReference(@otNull AddressingVersion version, @NotNull String address, @Nullable QName service, @Nullable QName port, @Nullable QName portType, @Nullable List<Element> metadata, @Nullable String wsdlAddress, @Nullable String wsdlTargetNamepsace, @Nullable List<Element> referenceParameters, @Nullable List<Element> elements, @Nullable Map<QName, String> attributes) argument
337 writePartialEPRInfoset(StreamWriterBufferCreator writer, AddressingVersion version, String address, List<Element> referenceParameters, QName service, QName port, QName portType, List<Element> metadata, String wsdlAddress, String wsdlTargetNamespace, @Nullable Map<QName, String> attributes) argument
387 writeW3CMetaData(StreamWriterBufferCreator writer, QName service, QName port, QName portType, List<Element> metadata, String wsdlAddress, String wsdlTargetNamespace) argument
456 writeWsdliLocation(StreamWriterBufferCreator writer, QName service,String wsdlAddress,String wsdlTargetNamespace) argument
473 writeMSMetaData(StreamWriterBufferCreator writer, QName service, QName port, QName portType, List<Element> metadata) argument
517 writeWsdl(StreamWriterBufferCreator writer, QName service, String wsdlAddress) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/
H A DDelegationPermission.java42 * kerberos service principals. The first is the subordinate service principal
43 * being entrusted to use the TGT. The second service principal designates
44 * the target service the subordinate service principal is to
46 * latter service principal is specified to restrict the use of a
49 * For example, to specify the "host" service use of a forwardable TGT the
56 * To give the "backup" service a proxiable nfs service ticket the target permission
71 private transient String subordinate, service; field in class:DelegationPermission
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/writer/document/
H A DDefinitions.java49 public Service service(); method in interface:Definitions
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DCredentialsUtil.java49 * protocol. It is used by ../Credentials.java for service ticket
57 * Acquires credentials for a specified service using initial credential. Wh
58 en the service has a different realm
62 edential to request service credential
65 * @param service the name of service principal using format components@real
73 String service, Credentials ccreds)
75 ServiceName sname = new ServiceName(service);
269 /* We have the right tgt. Let's get the service creds */
277 System.out.println(">>> Credentials acquireServiceCreds: obtaining service cred
72 acquireServiceCreds( String service, Credentials ccreds) argument
308 serviceCreds( ServiceName service, Credentials ccreds) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/
H A DWSDLDocumentVisitor.java65 public void preVisit(Service service) throws Exception; argument
66 public void postVisit(Service service) throws Exception; argument
H A DWSDLDocumentVisitorBase.java95 public void preVisit(Service service) throws Exception { argument
97 public void postVisit(Service service) throws Exception { argument

Completed in 59 milliseconds

12345