|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProtoCollection
Represents an undifferentiated ActiveCollection instance, with the same configuration (role). This is another workaround for applications that use plexus-container-default versions less than 1.0-alpha-22, since this proto-collection can be injected without causing conflict with the existing collection-detection code in the container. Dependent components can then call getActiveMap|List|Set and retrieve the instance, which has been preconfigured.
Field Summary | |
---|---|
static java.lang.String |
ROLE
|
Method Summary | |
---|---|
ActiveList |
getActiveList()
Retrieve an ActiveList instance that contains components matching the role given by
getCollectedRole() . |
ActiveMap |
getActiveMap()
Retrieve an ActiveMap instance that contains components matching the role given by
getCollectedRole() . |
ActiveSet |
getActiveSet()
Retrieve an ActiveSet instance that contains components matching the role given by
getCollectedRole() . |
java.lang.String |
getCollectedRole()
Retrieve the role of components to be collected by any of the active collections created here. |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
java.lang.String getCollectedRole()
ActiveMap getActiveMap()
ActiveMap
instance that contains components matching the role given by
getCollectedRole()
.
ActiveList getActiveList()
ActiveList
instance that contains components matching the role given by
getCollectedRole()
.
ActiveSet getActiveSet()
ActiveSet
instance that contains components matching the role given by
getCollectedRole()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |