|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface EntityDriverFactory
A Factory responsible for creating a driver for a given entity/location. The idea is that an entity should not be tightly coupled to a specific driver implementation, so that there is flexibility for driver changes, without changing the entity itself. The advantage is that drivers can easily be reconfigured, replaced or new drivers for different environments can be added, without needing to modify Brooklyn.
| Method Summary | ||
|---|---|---|
|
build(DriverDependentEntity<D> entity,
Location location)
Deprecated. Builds a new EntityDriver for the given entity/location. |
|
| Method Detail |
|---|
<D extends EntityDriver> D build(DriverDependentEntity<D> entity,
Location location)
EntityDriver for the given entity/location.
D - entity - the DriverDependentEntity to create the EntityDriver for.location - the Location where the DriverDependentEntity is running.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||