|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActiveCollection
Represents a collection-style view of a PlexusContainer instance, which retrieves a fresh
batch of component elements for each method call. This interface DOES NOT implement Collection,
since it is used as a common parent for active List, Set, and Map
implementations.
NOTE: All active collections are immutable, and will throw an
UnsupportedOperationException if a mutator method is called.
| Method Summary | |
|---|---|
boolean |
checkedIsEmpty()
Same semantics as Collection.isEmpty() or Map.isEmpty(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup. |
int |
checkedSize()
Same semantics as Collection.size() or Map.size(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup. |
java.lang.String |
getRole()
Retrive the role, or type of component, which is collected in the current instance. |
boolean |
isEmpty()
Same semantics as Collection.isEmpty() or Map.isEmpty(). |
int |
size()
Same semantics as Collection.size() or Map.size(). |
| Method Detail |
|---|
java.lang.String getRole()
boolean isEmpty()
Collection.isEmpty() or Map.isEmpty().
boolean checkedIsEmpty()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Collection.isEmpty() or Map.isEmpty(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupExceptionint size()
Collection.size() or Map.size().
int checkedSize()
throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
Collection.size() or Map.size(), except this method
will throw a ComponentLookupException if one or more of the elements collected here
fails during lookup.
org.codehaus.plexus.component.repository.exception.ComponentLookupException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||