Brooklyn

brooklyn.entity.drivers
[Java] Class ReflectiveEntityDriverFactory

java.lang.Object
  brooklyn.entity.drivers.ReflectiveEntityDriverFactory
All Implemented Interfaces:
EntityDriverFactory

public class ReflectiveEntityDriverFactory

Follows a class naming convention: the driver interface must end in "Driver", and the implementation must match the driver interface name but with a suffix like "SshDriver" instead of "Driver". Reflectively instantiates and returns the driver, based on the location passed in.

Authors:
Peter Veentjer


Method Summary
D build(DriverDependentEntity entity, Location location)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

build

@Override
public D build(DriverDependentEntity entity, Location location)


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.