com.sun.jini.resource
Class Service.LazyIterator

java.lang.Object
  extended by com.sun.jini.resource.Service.LazyIterator
All Implemented Interfaces:
Iterator
Enclosing class:
Service

private static class Service.LazyIterator
extends Object
implements Iterator

Private inner class implementing fully-lazy provider lookup


Field Summary
(package private)  Enumeration configs
           
(package private)  ClassLoader loader
           
(package private)  String nextName
           
(package private)  Iterator pending
           
(package private)  Set returned
           
(package private)  Class service
           
 
Constructor Summary
private Service.LazyIterator(Class service, ClassLoader loader)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

Class service

loader

ClassLoader loader

configs

Enumeration configs

pending

Iterator pending

returned

Set returned

nextName

String nextName
Constructor Detail

Service.LazyIterator

private Service.LazyIterator(Class service,
                             ClassLoader loader)
Method Detail

hasNext

public boolean hasNext()
                throws ServiceConfigurationError
Specified by:
hasNext in interface Iterator
Throws:
ServiceConfigurationError

next

public Object next()
            throws ServiceConfigurationError
Specified by:
next in interface Iterator
Throws:
ServiceConfigurationError

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.