org.radeox
Class EngineManager
java.lang.Object
org.radeox.EngineManager
public class EngineManager
- extends java.lang.Object
Acess point to dock several different rendering engines into
e.g. SnipSnap.
SHOULD BE REMOVED.
If this functionality is needed, it will be replaced by PicoContainer, Spring, ...
(but kept for compatibility)
Field Summary |
static java.lang.String |
DEFAULT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
EngineManager
public EngineManager()
registerEngine
public static void registerEngine(RenderEngine engine)
- Different RenderEngines can register themselves with the
EngineManager factory to be available with EngineManager.getInstance();
- Parameters:
engine
- RenderEngine instance, e.g. SnipRenderEngine
getInstance
public static RenderEngine getInstance(java.lang.String name)
- Get an instance of a RenderEngine. This is a factory method.
- Parameters:
name
- Name of the RenderEngine to get
- Returns:
- engine RenderEngine for the requested name
getInstance
public static RenderEngine getInstance()
- Get an instance of a RenderEngine. This is a factory method.
Defaults to a default RenderEngine. Currently this is a
basic EngineManager with no additional features that is
distributed with Radeox.
- Returns:
- engine default RenderEngine
getVersion
public static java.lang.String getVersion()