| Modifier and Type | Field and Description |
|---|---|
| private final HashMap | |
| private boolean | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DefaultServiceSelector(String
The role for this selector. role)Create a DefaultServiceSelector with a role for debug purposes. |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| protected final Map | |
| public boolean | Returns: true if the Object existsthe hint to retrieve Object hint)Implements org. |
| public void | |
| public void | |
| public void | release(final Object
the object)Object to releaseImplements org. |
| public Object | Returns: the Objectthe hint to retrieve Object hint)Implements org. |
| m_objects | back to summary |
|---|---|
| private final HashMap<K, V> m_objects | |
| m_readOnly | back to summary |
|---|---|
| private boolean m_readOnly | |
| m_role | back to summary |
|---|---|
| private final String m_role | |
| DefaultServiceSelector | back to summary |
|---|---|
| public DefaultServiceSelector() Create a DefaultServiceSelector with a default empty role. | |
| DefaultServiceSelector | back to summary |
|---|---|
| public DefaultServiceSelector(String role) Create a DefaultServiceSelector with a role for debug purposes.
| |
| checkWriteable | back to summary |
|---|---|
| protected final void checkWriteable() throws IllegalStateException Checks if this service selector is writeable.
| |
| getObjectMap | back to summary |
|---|---|
| protected final Map Helper method for subclasses to retrieve object map.
| |
| isSelectable | back to summary |
|---|---|
| public boolean isSelectable(final Object hint) Implements org. Returns whether a Object exists or not
| |
| makeReadOnly | back to summary |
|---|---|
| public void makeReadOnly() Makes this service selector read-only. | |
| put | back to summary |
|---|---|
| public void put(final Object hint, final Object object) Populate the ServiceSelector. | |
| release | back to summary |
|---|---|
| public void release(final Object object) Implements org. Release object.
| |
| select | back to summary |
|---|---|
| public Object select(Object hint) throws ServiceException Implements org. Select the desired object.
| |