@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
Locator s to prioritize this object. |
toString
public Feedback get()
BeepFeedback
.BeepFeedback
.public int getPriority()
Locator
s 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 LocatableService
Locator
s to prioritize this object.Copyright © 2012–2015 Schlichtherle IT Services. All rights reserved.