Revision 3654 trunk/frameworks/_fwAndami/src/com/iver/andami/PluginServices.java
PluginServices.java | ||
---|---|---|
72 | 72 |
*/ |
73 | 73 |
public class PluginServices { |
74 | 74 |
private static Logger logger = Logger.getLogger(PluginServices.class.getName()); |
75 |
private static String[] arguments; |
|
76 |
|
|
75 | 77 |
private PluginClassLoader loader; |
76 | 78 |
private PropertyResourceBundle resourceBundle; |
77 | 79 |
private XMLEntity persistentXML; |
80 |
|
|
81 |
|
|
78 | 82 |
|
79 | 83 |
/** |
80 | 84 |
* Crea un nuevo PluginServices |
... | ... | |
258 | 262 |
} |
259 | 263 |
} |
260 | 264 |
|
265 |
|
|
261 | 266 |
/** |
262 | 267 |
* Establece los datos del plugin que deber?n persistir entre ejecuciones |
263 | 268 |
* en formato xml |
... | ... | |
404 | 409 |
} */ |
405 | 410 |
} |
406 | 411 |
} |
412 |
|
|
413 |
/** |
|
414 |
* Usually appName plugins-directory [locale] [other args] |
|
415 |
* @return the original arguments that Andami received. (app-name plugins-directory, locale, etc) |
|
416 |
*/ |
|
417 |
public static String[] getArguments() { |
|
418 |
return arguments; |
|
419 |
} |
|
420 |
|
|
421 |
public static void setArguments(String[] arguments) { |
|
422 |
PluginServices.arguments = arguments; |
|
423 |
} |
|
407 | 424 |
} |
Also available in: Unified diff