Class OfficeFloorCompilerAdapter

java.lang.Object
net.officefloor.compile.OfficeFloorCompiler
net.officefloor.compile.impl.adapt.OfficeFloorCompilerAdapter
All Implemented Interfaces:
Node, PropertyConfigurable

public class OfficeFloorCompilerAdapter extends OfficeFloorCompiler

Adapts the implementing OfficeFloorCompiler to be used when the OfficeFloorCompiler reference may be from a different ClassLoader. Typically this occurs within the Eclipse plug-ins but is useful if wanting to run a different versions of the OfficeFloorCompiler in the same JVM.

This adapter reflectively calls on the implementation to achieve compatibility. Also, as this is loaded in the same ClassLoader as the OfficeFloorCompiler it will always be assignable.

Author:
Daniel Sagenschneider