Lines Matching defs:Service

58     // Contains "Service.Algorithm" and Provider.Service classes added using
60 private transient LinkedHashMap<String, Service> serviceTable;
62 // Contains "Service.Alias" and Provider.Service classes added using
64 private transient LinkedHashMap<String, Service> aliasTable;
66 // Contains "Service.Algorithm" and Provider.Service classes added using
68 private transient LinkedHashMap<String, Service> propertyServiceTable;
70 // Contains "Service.Alias" and Provider.Service classes added using put()
71 private transient LinkedHashMap<String, Service> propertyAliasTable;
78 private transient Provider.Service returnedService;
85 private transient Set<Service> lastServicesSet;
89 // last Service found by type
90 private transient Provider.Service lastServicesByType;
374 synchronized Provider.Service getService(String type) {
379 Provider.Service service;
380 for (Iterator<Service> it = getServices().iterator(); it.hasNext();) {
397 * with the {@link #putService(Service)} is returned (as opposed to the one
407 public synchronized Provider.Service getService(String type,
440 returnedService = (Provider.Service) o;
453 public synchronized Set<Provider.Service> getServices() {
459 lastServicesSet = new LinkedHashSet<Service>(serviceTable.values());
461 lastServicesSet = new LinkedHashSet<Service>();
471 * Adds a {@code Service} to this {@code Provider}. If a service with the
475 * the {@code Service} to register
477 protected synchronized void putService(Provider.Service s) {
486 serviceTable = new LinkedHashMap<String, Service>(128);
491 aliasTable = new LinkedHashMap<String, Service>(256);
501 * Removes a previously registered {@code Service} from this {@code
505 * the {@code Service} to remove
509 protected synchronized void removeService(Provider.Service s) {
526 * Add Service information to the provider's properties.
528 private void serviceInfoToProperties(Provider.Service s) {
548 * Remove Service information from the provider's properties.
550 private void serviceInfoFromProperties(Provider.Service s) {
577 Provider.Service s;
592 for (Iterator<Service> it = propertyServiceTable.values().iterator(); it
613 Provider.Service ser = propertyServiceTable.remove(key(serviceName, algorithm));
630 s = (Provider.Service) o;
641 Provider.Service s;
674 propertyServiceTable = new LinkedHashMap<String, Service>(128);
679 s = (Provider.Service) o;
682 propertyAliasTable = new LinkedHashMap<String, Service>(256);
691 s = new Provider.Service(this, serviceName, algorithm,
695 propertyAliasTable = new LinkedHashMap<String, Service>(256);
716 s = (Provider.Service) o;
719 s = new Provider.Service(this, serviceName, algorithm,
723 propertyServiceTable = new LinkedHashMap<String, Service>(128);
739 s = (Provider.Service) o;
747 s = new Provider.Service(this, serviceName, algorithm,
750 propertyServiceTable = new LinkedHashMap<String, Service>(128);
802 * {@code Service} represents a service in the Java Security infrastructure.
806 public static class Service {
825 // Service implementation
832 * Constructs a new instance of {@code Service} with the given
849 * this {@code Service} has no attributed.
854 public Service(Provider provider, String type, String algorithm,
902 * Returns the type of this {@code Service}. For example {@code
905 * @return the type of this {@code Service}.
913 * Service}.
916 * Service}.
923 * Returns the {@code Provider} this {@code Service} belongs to.
925 * @return the {@code Provider} this {@code Service} belongs to.
932 * Returns the name of the class implementing this {@code Service}.
934 * @return the name of the class implementing this {@code Service}.
969 * this {@code Service}.
976 * {@code Service}.
1025 * Indicates whether this {@code Service} supports the specified
1030 * @return {@code true} if this {@code Service} supports the specified
1039 * this {@code Service}.
1041 * @return a printable representation for this {@code Service}.
1045 String result = "Provider " + provider.getName() + " Service "