@Immutable @ServiceSpecification @ServiceImplementation public class FeedbackFactory extends LocatableFactory<Feedback>
Note that you can't subclass this class for customization.
Instead, you should implement a custom UnknownKeyFeedbackDecorator
or InvalidKeyFeedbackDecorator and advertise them on the class path.
| Constructor and Description |
|---|
FeedbackFactory() |
| Modifier and Type | Method and Description |
|---|---|
Feedback |
get()
Returns a new
BeepFeedback. |
int |
getPriority()
Returns a priority to help
Locators to prioritize this object. |
toStringpublic Feedback get()
BeepFeedback.BeepFeedback.public int getPriority()
Locators to prioritize this object.
The implementation in the class LocatableService returns zero.
If the runtime class of this object is
FeedbackFactory, then -100 gets returned.
Otherwise, zero gets returned.
getPriority in class LocatableServiceLocators to prioritize this object.Copyright © 2012–2016 Schlichtherle IT Services. All rights reserved.