- All Implemented Interfaces:
- VerticleFactory
public class ServiceVerticleFactory
extends Object
implements VerticleFactory
This verticle factory looks for a descriptor file on the classpath with a name given by the verticleName
(with ':' replaced by '.' as ':' is an illegal file name character in Windows) and
with ".json" appended to it.
When it finds that file it deploys the actual verticle that's defined by the "main" field in that file.
The descriptor file can also contain a field called "options" which is the JSON form of the DeploymentOptions
class
- Author:
- Tim Fox