public class SimpleAmqpNodeBootstrap extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PROP_WORKER_CLASS |
| Constructor and Description |
|---|
SimpleAmqpNodeBootstrap() |
| Modifier and Type | Method and Description |
|---|---|
protected static Object |
createObjectFromClassInProperties(Properties properties,
String key)
Attempts to load the class specified in the properties file and
create a new instance of it.
|
protected static <W extends org.gytheio.content.ContentWorker> |
getComponentBootrap(W worker,
Properties properties) |
protected static Properties |
loadProperties(String propertiesFilePath)
Loads the properties from the path specified via command line.
|
static void |
main(String[] args) |
protected static final String PROP_WORKER_CLASS
public static void main(String[] args)
protected static Properties loadProperties(String propertiesFilePath)
propertiesFilePath - protected static Object createObjectFromClassInProperties(Properties properties, String key)
protected static <W extends org.gytheio.content.ContentWorker> AbstractComponentBootstrapFromProperties<W> getComponentBootrap(W worker, Properties properties)
Copyright © 2014 Alfresco Software. All rights reserved.