PageRenderTime 71ms CodeModel.GetById 29ms RepoModel.GetById 1ms app.codeStats 1ms

/runtime/framework/src/com/sun/jbi/framework/LocalStringKeys.java

https://bitbucket.org/openesb/openesb-core
Java | 1300 lines | 458 code | 60 blank | 782 comment | 0 complexity | 045af6d7f495664f8bbbe230c1f000ad MD5 | raw file
  1. /*
  2. * BEGIN_HEADER - DO NOT EDIT
  3. *
  4. * The contents of this file are subject to the terms
  5. * of the Common Development and Distribution License
  6. * (the "License"). You may not use this file except
  7. * in compliance with the License.
  8. *
  9. * You can obtain a copy of the license at
  10. * https://open-esb.dev.java.net/public/CDDLv1.0.html.
  11. * See the License for the specific language governing
  12. * permissions and limitations under the License.
  13. *
  14. * When distributing Covered Code, include this CDDL
  15. * HEADER in each file and include the License file at
  16. * https://open-esb.dev.java.net/public/CDDLv1.0.html.
  17. * If applicable add the following below this CDDL HEADER,
  18. * with the fields enclosed by brackets "[]" replaced with
  19. * your own identifying information: Portions Copyright
  20. * [year] [name of copyright owner]
  21. */
  22. /*
  23. * @(#)LocalStringKeys.java
  24. * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
  25. *
  26. * END_HEADER - DO NOT EDIT
  27. */
  28. package com.sun.jbi.framework;
  29. /**
  30. * This interface contains the property keys used for looking up message
  31. * text in the LocalStrings resource bundle.
  32. *
  33. * IMPORTANT: The number of property keys defined in this file must always
  34. * match the number of properties defined LocalStrings_en.properties.
  35. * The keys defined in this file must all match the keys for the
  36. * properties defined in LocalStrings_en.properties. The junit test
  37. * for this class checks all of this and fails with detailed
  38. * messages if any mismatches are found.
  39. *
  40. * @author Sun Microsystems, Inc.
  41. */
  42. public interface LocalStringKeys
  43. {
  44. //
  45. // Message keys for common words or phrases
  46. //
  47. /**
  48. * Binding.
  49. */
  50. String BINDING =
  51. "BINDING";
  52. /**
  53. * Component.
  54. */
  55. String COMPONENT =
  56. "COMPONENT";
  57. /**
  58. * Engine.
  59. */
  60. String ENGINE =
  61. "ENGINE";
  62. /**
  63. * Exception message.
  64. */
  65. String EXCEPTION_MSG =
  66. "EXCEPTION_MSG";
  67. /**
  68. * No exception message.
  69. */
  70. String NO_MESSAGE =
  71. "NO_MESSAGE";
  72. /**
  73. * Shared Unit.
  74. */
  75. String SERVICE_UNIT =
  76. "SERVICE_UNIT";
  77. /**
  78. * Shared Library.
  79. */
  80. String SHARED_LIBRARY =
  81. "SHARED_LIBRARY";
  82. /**
  83. * Unable to print stack trace.
  84. */
  85. String STACK_TRACE_PRINT_FAILED =
  86. "STACK_TRACE_PRINT_FAILED";
  87. /**
  88. * Unknown.
  89. */
  90. String UNKNOWN =
  91. "UNKNOWN";
  92. //
  93. // Message keys for common messages
  94. //
  95. /**
  96. * Error message - a required list argument is empty.
  97. */
  98. String EMPTY_LIST_ARGUMENT =
  99. "EMPTY_LIST_ARGUMENT";
  100. /**
  101. * Error message - a required string argument is empty.
  102. */
  103. String EMPTY_STRING_ARGUMENT =
  104. "EMPTY_STRING_ARGUMENT";
  105. /**
  106. * Error message - an argument is invalid.
  107. */
  108. String INVALID_ARGUMENT =
  109. "INVALID_ARGUMENT";
  110. /**
  111. * Error message - a required argument is null.
  112. */
  113. String NULL_ARGUMENT =
  114. "NULL_ARGUMENT";
  115. /**
  116. * Warning message - service already initialized.
  117. */
  118. String SERVICE_ALREADY_INITIALIZED =
  119. "SERVICE_ALREADY_INITIALIZED";
  120. /**
  121. * Warning message - service already started.
  122. */
  123. String SERVICE_ALREADY_STARTED =
  124. "SERVICE_ALREADY_STARTED";
  125. /**
  126. * Warning message - service already stopped.
  127. */
  128. String SERVICE_ALREADY_STOPPED =
  129. "SERVICE_ALREADY_STOPPED";
  130. /**
  131. * Info message - service initialized.
  132. */
  133. String SERVICE_INITIALIZED =
  134. "SERVICE_INITIALIZED";
  135. /**
  136. * Info message - service started.
  137. */
  138. String SERVICE_STARTED =
  139. "SERVICE_STARTED";
  140. /**
  141. * Info message - service stopped.
  142. */
  143. String SERVICE_STOPPED =
  144. "SERVICE_STOPPED";
  145. //
  146. // Message keys for JBIFramework
  147. //
  148. // service names
  149. /**
  150. * Component Framework.
  151. */
  152. String CF_NAME =
  153. "CF_NAME";
  154. /**
  155. * Component Registry.
  156. */
  157. String CR_NAME =
  158. "CR_NAME";
  159. /**
  160. * Configuration Service .
  161. */
  162. String CS_NAME =
  163. "CS_NAME";
  164. /**
  165. * Management Service.
  166. */
  167. String MS_NAME =
  168. "MS_NAME";
  169. /**
  170. * Normalized Message Service.
  171. */
  172. String NMS_NAME =
  173. "NMS_NAME";
  174. /**
  175. * Registry Service.
  176. */
  177. String RS_NAME =
  178. "RS_NAME";
  179. /**
  180. * Security Service.
  181. */
  182. String SS_NAME =
  183. "SS_NAME";
  184. /**
  185. * Management Runtime Service.
  186. */
  187. String MRS_NAME =
  188. "MRS_NAME";
  189. // messages
  190. /**
  191. * Error message - framework initialization failed.
  192. */
  193. String INIT_FRAMEWORK_FAILED =
  194. "INIT_FRAMEWORK_FAILED";
  195. /**
  196. * Error message - service initialization failed.
  197. */
  198. String INIT_SERVICE_FAILED =
  199. "INIT_SERVICE_FAILED";
  200. /**
  201. * Logging message - framework initialized.
  202. */
  203. String JBI_INITIALIZED =
  204. "JBI_INITIALIZED";
  205. /**
  206. * Logging message - framework initializing.
  207. */
  208. String JBI_INITIALIZING =
  209. "JBI_INITIALIZING";
  210. /**
  211. * Logging message - framework ready for requests.
  212. */
  213. String JBI_READY =
  214. "JBI_READY";
  215. /**
  216. * Warning message - repository timestamp file creation failed.
  217. */
  218. String JBI_REPOSITORY_TIMESTAMP_WARNING =
  219. "JBI_REPOSITORY_TIMESTAMP_WARNING";
  220. /**
  221. * Logging message - framework shutdown elapsed time.
  222. */
  223. String JBI_SHUTDOWN_TIME =
  224. "JBI_SHUTDOWN_TIME";
  225. /**
  226. * Logging message - framework shutting down.
  227. */
  228. String JBI_SHUTTING_DOWN =
  229. "JBI_SHUTTING_DOWN";
  230. /**
  231. * Logging message - framework shut down.
  232. */
  233. String JBI_SHUT_DOWN =
  234. "JBI_SHUT_DOWN";
  235. /**
  236. * Logging message - framework started.
  237. */
  238. String JBI_STARTED =
  239. "JBI_STARTED";
  240. /**
  241. * Logging message - framework starting.
  242. */
  243. String JBI_STARTING =
  244. "JBI_STARTING";
  245. /**
  246. * Logging message - framework startup elapsed time.
  247. */
  248. String JBI_STARTUP_TIME =
  249. "JBI_STARTUP_TIME";
  250. /**
  251. * Logging message - framework terminated.
  252. */
  253. String JBI_TERMINATED =
  254. "JBI_TERMINATED";
  255. /**
  256. * Logging message - framework terminating.
  257. */
  258. String JBI_TERMINATING =
  259. "JBI_TERMINATING";
  260. /**
  261. * Error message - framework start failed.
  262. */
  263. String START_FRAMEWORK_FAILED =
  264. "START_FRAMEWORK_FAILED";
  265. /**
  266. * Error message - service start failed.
  267. */
  268. String START_SERVICE_FAILED =
  269. "START_SERVICE_FAILED";
  270. /**
  271. * Error message - framework stop failed.
  272. */
  273. String STOP_FRAMEWORK_FAILED =
  274. "STOP_FRAMEWORK_FAILED";
  275. /**
  276. * Error message - service stop failed.
  277. */
  278. String STOP_SERVICE_FAILED =
  279. "STOP_SERVICE_FAILED";
  280. /**
  281. * Error message - failed to create jbi admin state file.
  282. */
  283. String JBI_STATE_FILE_CREATION_FAILED =
  284. "JBI_STATE_FILE_CREATION_FAILED";
  285. //
  286. // Message keys for ComponentFramework
  287. //
  288. /**
  289. * Error message - shutdown interrupted.
  290. */
  291. String CF_SHUTDOWN_INTERRUPTED =
  292. "CF_SHUTDOWN_INTERRUPTED";
  293. /**
  294. * Error message - startup interrupted.
  295. */
  296. String CF_STARTUP_INTERRUPTED =
  297. "CF_STARTUP_INTERRUPTED";
  298. /**
  299. * Info message - stopping all components.
  300. */
  301. String CF_STOPPING_ALL =
  302. "CF_STOPPING_ALL";
  303. // bootstrap messages
  304. /**
  305. Error message - bootstrap init() method failed.
  306. */
  307. String CF_BOOTSTRAP_GET_EXTENSION_FAILED =
  308. "CF_BOOTSTRAP_GET_EXTENSION_FAILED";
  309. /**
  310. * Error message - bootstrap cleanUp() method failed.
  311. */
  312. String CF_BOOTSTRAP_CLEANUP_FAILED =
  313. "CF_BOOTSTRAP_CLEANUP_FAILED";
  314. /**
  315. Error message - bootstrap init() method failed.
  316. */
  317. String CF_BOOTSTRAP_INIT_FAILED =
  318. "CF_BOOTSTRAP_INIT_FAILED";
  319. /**
  320. Error message - bootstrap cleanUp() method failed after onInstall().
  321. */
  322. String CF_BOOTSTRAP_INSTALL_CLEANUP_FAILED =
  323. "CF_BOOTSTRAP_INSTALL_CLEANUP_FAILED";
  324. /**
  325. * Error message - bootstrap not loaded.
  326. */
  327. String CF_BOOTSTRAP_NOT_LOADED =
  328. "CF_BOOTSTRAP_NOT_LOADED";
  329. /**
  330. * Error message - bootstrap onInstall() method failed.
  331. */
  332. String CF_BOOTSTRAP_ONINSTALL_FAILED =
  333. "CF_BOOTSTRAP_ONINSTALL_FAILED";
  334. /**
  335. * Error message - bootstrap onUninstall() method failed.
  336. */
  337. String CF_BOOTSTRAP_ONUNINSTALL_FAILED =
  338. "CF_BOOTSTRAP_ONUNINSTALL_FAILED";
  339. /**
  340. Error message - bootstrap cleanUp() method failed after onUninstall().
  341. */
  342. String CF_BOOTSTRAP_UNINSTALL_CLEANUP_FAILED =
  343. "CF_BOOTSTRAP_UNINSTALL_CLEANUP_FAILED";
  344. /**
  345. Error message - bootstrap cleanUp() method failed during unload.
  346. */
  347. String CF_BOOTSTRAP_UNLOAD_CLEANUP_FAILED =
  348. "CF_BOOTSTRAP_UNLOAD_CLEANUP_FAILED";
  349. // component-related messages
  350. /**
  351. * Error message - component already installed.
  352. */
  353. String CF_COMP_ALREADY_INSTALLED =
  354. "CF_COMP_ALREADY_INSTALLED";
  355. /**
  356. * Error message - component ID already registered.
  357. */
  358. String CF_COMP_ALREADY_REGISTERED =
  359. "CF_COMP_ALREADY_REGISTERED";
  360. /**
  361. * Error message - component cannot be shut down.
  362. */
  363. String CF_COMP_CANNOT_SHUTDOWN =
  364. "CF_COMP_CANNOT_SHUTDOWN";
  365. /**
  366. * Error message - component cannot be started.
  367. */
  368. String CF_COMP_CANNOT_START =
  369. "CF_COMP_CANNOT_START";
  370. /**
  371. * Error message - component cannot be stopped.
  372. */
  373. String CF_COMP_CANNOT_STOP =
  374. "CF_COMP_CANNOT_STOP";
  375. /**
  376. * Error message - initialization of component timed out.
  377. */
  378. String CF_COMP_INIT_TIMEOUT =
  379. "CF_COMP_INIT_TIMEOUT";
  380. /**
  381. * Error message - component initialization failed due to an exception.
  382. */
  383. String CF_COMP_INITIALIZATION_EXCEPTION =
  384. "CF_COMP_INITIALIZATION_EXCEPTION";
  385. /**
  386. * Error message - component initialization failed due to an exception.
  387. */
  388. String CF_COMP_INITIALIZATION_FAILED_EXCEPTION =
  389. "CF_COMP_INITIALIZATION_FAILED_EXCEPTION";
  390. /**
  391. * Error message - installation failed.
  392. */
  393. String CF_COMP_INSTALL_FAILED =
  394. "CF_COMP_INSTALL_FAILED";
  395. /**
  396. * Info message - installation succeeded.
  397. */
  398. String CF_COMP_INSTALL_SUCCESSFUL =
  399. "CF_COMP_INSTALL_SUCCESSFUL";
  400. /**
  401. * Error message - installer MBean registration failed.
  402. */
  403. String CF_COMP_INSTALLER_MBEAN_REGISTRATION_FAILED =
  404. "CF_COMP_INSTALLER_MBEAN_REGISTRATION_FAILED";
  405. /**
  406. * Error message - required shared library not installed.
  407. */
  408. String CF_COMP_MISSING_SHARED_LIBRARY =
  409. "CF_COMP_MISSING_SHARED_LIBRARY";
  410. /**
  411. * Error message - required shared libraries not installed.
  412. */
  413. String CF_COMP_MISSING_SHARED_LIBRARY_LIST =
  414. "CF_COMP_MISSING_SHARED_LIBRARY_LIST";
  415. /**
  416. * Error message - required shared libraries not installed.
  417. */
  418. String CF_COMP_MISSING_SHARED_LIBRARIES_START =
  419. "CF_COMP_MISSING_SHARED_LIBRARIES_START";
  420. /**
  421. * Error message - component not installed.
  422. */
  423. String CF_COMP_NO_COMP_INSTALLED =
  424. "CF_COMP_NO_COMP_INSTALLED";
  425. /**
  426. * Error message - component not found.
  427. */
  428. String CF_COMP_NOT_FOUND =
  429. "CF_COMP_NOT_FOUND";
  430. /**
  431. * Error message - component not installed.
  432. */
  433. String CF_COMP_NOT_INSTALLED =
  434. "CF_COMP_NOT_INSTALLED";
  435. /**
  436. * Error message - component not loaded.
  437. */
  438. String CF_COMP_NOT_LOADED =
  439. "CF_COMP_NOT_LOADED";
  440. /**
  441. * Info message - shutdown forced.
  442. */
  443. String CF_COMP_SHUTDOWN_FORCED =
  444. "CF_COMP_SHUTDOWN_FORCED";
  445. /**
  446. * Info message - shutdown component.
  447. */
  448. String CF_COMP_SHUTDOWN_SUCCESSFUL =
  449. "CF_COMP_SHUTDOWN_SUCCESSFUL";
  450. /**
  451. * Error message - shutdown component timed out.
  452. */
  453. String CF_COMP_SHUTDOWN_TIMEOUT =
  454. "CF_COMP_SHUTDOWN_TIMEOUT";
  455. /**
  456. * Info message - started component.
  457. */
  458. String CF_COMP_START_SUCCESSFUL =
  459. "CF_COMP_START_SUCCESSFUL";
  460. /**
  461. * Error message - start of component timed out.
  462. */
  463. String CF_COMP_START_TIMEOUT =
  464. "CF_COMP_START_TIMEOUT";
  465. /**
  466. * Info message - inactive component.
  467. */
  468. String CF_COMP_STOP_NOT_ACTIVE =
  469. "CF_COMP_STOP_NOT_ACTIVE";
  470. /**
  471. * Info message - stopped component.
  472. */
  473. String CF_COMP_STOP_SUCCESSFUL =
  474. "CF_COMP_STOP_SUCCESSFUL";
  475. /**
  476. * Error message - uninstallation failed.
  477. */
  478. String CF_COMP_UNINSTALL_FAILED =
  479. "CF_COMP_UNINSTALL_FAILED";
  480. /**
  481. * Error message - uninstallation failed due to deployed SUs.
  482. */
  483. String CF_COMP_UNINSTALL_FAILED_HAS_SUS =
  484. "CF_COMP_UNINSTALL_FAILED_HAS_SUS";
  485. /**
  486. * Error message - uninstalling a running component.
  487. */
  488. String CF_COMP_UNINSTALL_RUNNING =
  489. "CF_COMP_UNINSTALL_RUNNING";
  490. /**
  491. * Error message - uninstalling a stopped component.
  492. */
  493. String CF_COMP_UNINSTALL_STOPPED =
  494. "CF_COMP_UNINSTALL_STOPPED";
  495. /**
  496. * Error message - uninstallation succeeded.
  497. */
  498. String CF_COMP_UNINSTALL_SUCCESSFUL =
  499. "CF_COMP_UNINSTALL_SUCCESSFUL";
  500. /**
  501. * Info message - update completed.
  502. */
  503. String CF_COMP_UPDATE_COMPLETE =
  504. "CF_COMP_UPDATE_COMPLETE";
  505. /**
  506. * Error message - cancel upgrade not allowed, component not found.
  507. */
  508. String CF_COMP_UPGRADE_CANCEL_NOT_FOUND =
  509. "CF_COMP_UPGRADE_CANCEL_NOT_FOUND";
  510. /**
  511. * Info message - upgrade completed.
  512. */
  513. String CF_COMP_UPGRADE_COMPLETE =
  514. "CF_COMP_UPGRADE_COMPLETE";
  515. /**
  516. * Error message - upgrade failed.
  517. */
  518. String CF_COMP_UPGRADE_FAILED =
  519. "CF_COMP_UPGRADE_FAILED";
  520. /**
  521. * Error message - IllegalAccessException on upgrade.
  522. */
  523. String CF_COMP_UPGRADE_ILLEGAL_ACCESS =
  524. "CF_COMP_UPGRADE_ILLEGAL_ACCESS";
  525. /**
  526. * Error message - upgrade load failed.
  527. */
  528. String CF_COMP_UPGRADE_LOAD_FAILED =
  529. "CF_COMP_UPGRADE_LOAD_FAILED";
  530. /**
  531. * Error message - missing shared libraries on upgrade.
  532. */
  533. String CF_COMP_UPGRADE_MISSING_SHARED_LIBRARIES =
  534. "CF_COMP_UPGRADE_MISSING_SHARED_LIBRARIES";
  535. /**
  536. * Error message - upgrade not allowed, component not found.
  537. */
  538. String CF_COMP_UPGRADE_NOT_FOUND =
  539. "CF_COMP_UPGRADE_NOT_FOUND";
  540. /**
  541. * Error message - upgrade not allowed, component still active.
  542. */
  543. String CF_COMP_UPGRADE_NOT_SHUT_DOWN =
  544. "CF_COMP_UPGRADE_NOT_SHUT_DOWN";
  545. /**
  546. * Error message - upgrade not allowed, validate not done.
  547. */
  548. String CF_COMP_UPGRADE_NOT_VALIDATED =
  549. "CF_COMP_UPGRADE_NOT_VALIDATED";
  550. /**
  551. * Error message - validation for upgrade failed.
  552. */
  553. String CF_COMP_UPGRADE_VALIDATE_FAILED =
  554. "CF_COMP_UPGRADE_VALIDATE_FAILED";
  555. /**
  556. * Warning message - unrecognized component type.
  557. */
  558. String CF_COMP_UNRECOGNIZED_TYPE =
  559. "CF_COMP_UNRECOGNIZED_TYPE";
  560. // ServiceUnitManager-related messages
  561. /**
  562. * Error message - failed to register deployer MBean.
  563. */
  564. String CF_DEPLOYER_MBEAN_REGISTRATION_FAILED =
  565. "CF_DEPLOYER_MBEAN_REGISTRATION_FAILED";
  566. /**
  567. * Error message - failed to unregister deployer MBean.
  568. */
  569. String CF_DEPLOYER_MBEAN_UNREGISTRATION_FAILED =
  570. "CF_DEPLOYER_MBEAN_UNREGISTRATION_FAILED";
  571. // lifecycle messages
  572. /**
  573. * Error message - failed to register life cycle MBean during restart.
  574. */
  575. String CF_LIFECYCLE_MBEAN_NOT_REGISTERED =
  576. "CF_LIFECYCLE_MBEAN_NOT_REGISTERED";
  577. /**
  578. * Error message - failed to register life cycle MBean.
  579. */
  580. String CF_LIFECYCLE_MBEAN_REGISTRATION_FAILED =
  581. "CF_LIFECYCLE_MBEAN_REGISTRATION_FAILED";
  582. /**
  583. * Error message - failed to unregister life cycle MBean.
  584. */
  585. String CF_LIFECYCLE_MBEAN_UNREGISTRATION_FAILED =
  586. "CF_LIFECYCLE_MBEAN_UNREGISTRATION_FAILED";
  587. /**
  588. * Error message - LifeCycle shutdown() failed.
  589. */
  590. String CF_LIFECYCLE_SHUTDOWN_EXCEPTION =
  591. "CF_LIFECYCLE_SHUTDOWN_EXCEPTION";
  592. /**
  593. * Error message - LifeCycle shutdown() failed.
  594. */
  595. String CF_LIFECYCLE_SHUTDOWN_FAILED =
  596. "CF_LIFECYCLE_SHUTDOWN_FAILED";
  597. /**
  598. * Error message - LifeCycle start() failed.
  599. */
  600. String CF_LIFECYCLE_START_EXCEPTION =
  601. "CF_LIFECYCLE_START_EXCEPTION";
  602. /**
  603. * Error message - LifeCycle start() failed.
  604. */
  605. String CF_LIFECYCLE_START_FAILED =
  606. "CF_LIFECYCLE_START_FAILED";
  607. /**
  608. * Error message - LifeCycle stop() failed.
  609. */
  610. String CF_LIFECYCLE_STOP_EXCEPTION =
  611. "CF_LIFECYCLE_STOP_EXCEPTION";
  612. /**
  613. * Error message - LifeCycle stop() failed.
  614. */
  615. String CF_LIFECYCLE_STOP_FAILED =
  616. "CF_LIFECYCLE_STOP_FAILED";
  617. // MBean-related messages
  618. /**
  619. * Warning message - logger MBean registration failed.
  620. */
  621. String CF_LOGGER_MBEAN_REGISTRATION_FAILED =
  622. "CF_LOGGER_MBEAN_REGISTRATION_FAILED";
  623. /**
  624. * Warning message - logger MBean unregistration failed.
  625. */
  626. String CF_LOGGER_MBEAN_UNREGISTRATION_FAILED =
  627. "CF_LOGGER_MBEAN_UNREGISTRATION_FAILED";
  628. /**
  629. * Error message - MBean creation failed.
  630. */
  631. String CF_MBEAN_CREATION_FAILED =
  632. "CF_MBEAN_CREATION_FAILED";
  633. /**
  634. * Error message - MBean registration failed.
  635. */
  636. String CF_MBEAN_REGISTRATION_FAILED =
  637. "CF_MBEAN_REGISTRATION_FAILED";
  638. /**
  639. * Warning message - statistics MBean registration failed.
  640. */
  641. String CF_STATISTICS_MBEAN_REGISTRATION_FAILED =
  642. "CF_STATISTICS_MBEAN_REGISTRATION_FAILED";
  643. /**
  644. * Warning message - statistics MBean unregistration failed.
  645. */
  646. String CF_STATISTICS_MBEAN_UNREGISTRATION_FAILED =
  647. "CF_STATISTICS_MBEAN_UNREGISTRATION_FAILED";
  648. /**
  649. * Warning message - configuration MBean registration failed.
  650. */
  651. String CF_CONFIGURATION_MBEAN_REGISTRATION_FAILED =
  652. "CF_CONFIGURATION_MBEAN_REGISTRATION_FAILED";
  653. /**
  654. * Warning message - configuration MBean unregistration failed.
  655. */
  656. String CF_CONFIGURATION_MBEAN_UNREGISTRATION_FAILED =
  657. "CF_CONFIGURATION_MBEAN_UNREGISTRATION_FAILED";
  658. // shared library related messages
  659. /**
  660. * Error message - shared library already registered.
  661. */
  662. String CF_SL_ALREADY_REGISTERED =
  663. "CF_SL_ALREADY_REGISTERED";
  664. /**
  665. * Error message - shared classloader creation failed.
  666. */
  667. String CF_SL_CLASSLOADER_CREATION_FAILED =
  668. "CF_SL_CLASSLOADER_CREATION_FAILED";
  669. /**
  670. * Error message - installation failed.
  671. */
  672. String CF_SL_INSTALL_FAILED =
  673. "CF_SL_INSTALL_FAILED";
  674. /**
  675. * Info message - installation succeeded.
  676. */
  677. String CF_SL_INSTALL_SUCCESSFUL =
  678. "CF_SL_INSTALL_SUCCESSFUL";
  679. /**
  680. * Error message - namespace referenced by component.
  681. */
  682. String CF_SL_REFERENCED_BY =
  683. "CF_SL_REFERENCED_BY";
  684. /**
  685. * Error message - namespace referenced by components.
  686. */
  687. String CF_SL_REFERENCED_BY_LIST =
  688. "CF_SL_REFERENCED_BY_LIST";
  689. /**
  690. * Info message - uninstall could not remove class loader.
  691. */
  692. String CF_SL_UNINSTALL_CLASSLOADER =
  693. "CF_SL_UNINSTALL_CLASSLOADER";
  694. /**
  695. * Error message - uninstall failed, dependent components exist.
  696. */
  697. String CF_SL_UNINSTALL_FAILED_DEPENDENTS =
  698. "CF_SL_UNINSTALL_FAILED_DEPENDENTS";
  699. /**
  700. * Error message - uninstall failed, no namespace.
  701. */
  702. String CF_SL_UNINSTALL_NONEXISTENT =
  703. "CF_SL_UNINSTALL_NONEXISTENT";
  704. /**
  705. * Error message - uninstall succeeded, dependent components exist.
  706. */
  707. String CF_SL_UNINSTALL_OK_DEPENDENTS =
  708. "CF_SL_UNINSTALL_OK_DEPENDENTS";
  709. /**
  710. * Info message - uninstall successful.
  711. */
  712. String CF_SL_UNINSTALL_SUCCESSFUL =
  713. "CF_SL_UNINSTALL_SUCCESSFUL";
  714. //
  715. // Message keys for ClassLoaderFactory and DelegatingClassLoader
  716. //
  717. /**
  718. * Error message - could not create bootstrap classloader.
  719. */
  720. String CL_BOOTSTRAP_CREATE_FAILED =
  721. "CL_BOOTSTRAP_CREATE_FAILED";
  722. /**
  723. * Error message - could not find the component classloader.
  724. */
  725. String CL_COMPONENT_CLASSLOADER_NOT_FOUND =
  726. "CL_COMPONENT_CLASSLOADER_NOT_FOUND";
  727. /**
  728. * Error message - could not create component classloader.
  729. */
  730. String CL_COMPONENT_CREATE_FAILED =
  731. "CL_COMPONENT_CREATE_FAILED";
  732. /**
  733. * Error message - could not create component classloader.
  734. */
  735. String CL_COMPONENT_EXTENSION_ERROR =
  736. "CL_COMPONENT_EXTENSION_ERROR";
  737. /**
  738. * Error message - could not find the shared class.
  739. */
  740. String CL_SHARED_CLASS_NOT_FOUND =
  741. "CL_SHARED_CLASS_NOT_FOUND";
  742. /**
  743. * Error message - could not find the shared classloader.
  744. */
  745. String CL_SHARED_CLASSLOADER_NOT_FOUND =
  746. "CL_SHARED_CLASSLOADER_NOT_FOUND";
  747. /**
  748. * Error message - could not create the shared classloader.
  749. */
  750. String CL_SHARED_CREATE_FAILED =
  751. "CL_SHARED_CREATE_FAILED";
  752. /**
  753. * Error Message - class was not loaded with any class loader.
  754. */
  755. String CU_CL_LOAD_CLASS_FAILURE =
  756. "CU_CL_LOAD_CLASS_FAILURE";
  757. /**
  758. * Error Message - I/O error creating class loader.
  759. */
  760. String CU_CL_CREATE_IO_ERROR =
  761. "CU_CL_CREATE_IO_ERROR";
  762. /**
  763. * Error Message - security exception trying to load a class.
  764. */
  765. String CU_CL_LOAD_CLASS_SECURITY_EXCEPTION =
  766. "CU_CL_LOAD_CLASS_SECURITY_EXCEPTION";
  767. //
  768. // Message keys for Component
  769. //
  770. /**
  771. * Bootstrap load failed.
  772. */
  773. String COMP_BOOTSTRAP_LOAD_FAILED =
  774. "COMP_BOOTSTRAP_LOAD_FAILED";
  775. /**
  776. * Component is busy.
  777. */
  778. String COMP_BUSY =
  779. "COMP_BUSY";
  780. /**
  781. * Class not found.
  782. */
  783. String COMP_CLASS_NOT_FOUND =
  784. "COMP_CLASS_NOT_FOUND";
  785. /**
  786. * Class not valid.
  787. */
  788. String COMP_CLASS_NOT_VALID =
  789. "COMP_CLASS_NOT_VALID";
  790. /**
  791. * Exception creating instance.
  792. */
  793. String COMP_EXCEPTION =
  794. "COMP_EXCEPTION";
  795. /**
  796. * Component returned null value for instance.
  797. */
  798. String COMP_INSTANCE_NOT_PROVIDED =
  799. "COMP_INSTANCE_NOT_PROVIDED";
  800. /**
  801. * Invalid state change.
  802. */
  803. String COMP_INVALID_STATE_CHANGE =
  804. "COMP_INVALID_STATE_CHANGE";
  805. /**
  806. * LifeCycle load failed.
  807. */
  808. String COMP_LIFECYCLE_LOAD_FAILED =
  809. "COMP_LIFECYCLE_LOAD_FAILED";
  810. /**
  811. * Component logger not found.
  812. */
  813. String COMP_LOGGER_NOT_FOUND =
  814. "COMP_LOGGER_NOT_FOUND";
  815. /**
  816. * Component logger settings file close failed.
  817. */
  818. String COMP_LOGGER_SETTINGS_CLOSE_FAILED =
  819. "COMP_LOGGER_SETTINGS_CLOSE_FAILED";
  820. /**
  821. * Component logger settings directory create failed.
  822. */
  823. String COMP_LOGGER_SETTINGS_CREATE_FAILED =
  824. "COMP_LOGGER_SETTINGS_CREATE_FAILED";
  825. /**
  826. * Component logger settings file read failed.
  827. */
  828. String COMP_LOGGER_SETTINGS_LOAD_FAILED =
  829. "COMP_LOGGER_SETTINGS_LOAD_FAILED";
  830. /**
  831. * Component logger settings file create failed.
  832. */
  833. String COMP_LOGGER_SETTINGS_SAVE_FAILED =
  834. "COMP_LOGGER_SETTINGS_SAVE_FAILED";
  835. /**
  836. * Component state installed.
  837. */
  838. String COMP_STATE_SHUTDOWN =
  839. "COMP_STATE_SHUTDOWN";
  840. /**
  841. * Component state loaded.
  842. */
  843. String COMP_STATE_LOADED =
  844. "COMP_STATE_LOADED";
  845. /**
  846. * Component state started.
  847. */
  848. String COMP_STATE_STARTED =
  849. "COMP_STATE_STARTED";
  850. /**
  851. * Component state stopped.
  852. */
  853. String COMP_STATE_STOPPED =
  854. "COMP_STATE_STOPPED";
  855. //
  856. // Message keys for ComponentContext
  857. //
  858. /**
  859. * Illegal getLogger request with different resource bundle.
  860. */
  861. String CC_LOGGER_DIFFERENT_RESOURCE =
  862. "CC_LOGGER_DIFFERENT_RESOURCE";
  863. /**
  864. * Missing resource bundle.
  865. */
  866. String CC_LOGGER_MISSING_RESOURCE =
  867. "CC_LOGGER_MISSING_RESOURCE";
  868. /**
  869. * Delivery channel not available.
  870. */
  871. String CC_NO_DC_AVAILABLE =
  872. "CC_NO_DC_AVAILABLE";
  873. /**
  874. * Null suffix not allowed.
  875. */
  876. String CC_LOGGER_NULL_SUFFIX =
  877. "CC_LOGGER_NULL_SUFFIX";
  878. //
  879. // Message keys for ComponentRegistry
  880. //
  881. /**
  882. * Exception message used when a component cannot be registered because
  883. * its ID is already in use.
  884. */
  885. String CR_COMPONENT_ALREADY_REGISTERED =
  886. "CR_COMPONENT_ALREADY_REGISTERED";
  887. /**
  888. * Exception message used when a component cannot be unregistered because
  889. * the name is not registered.
  890. */
  891. String CR_COMPONENT_NOT_REGISTERED =
  892. "CR_COMPONENT_NOT_REGISTERED";
  893. /**
  894. * Exception message used when a permanent registration fails.
  895. */
  896. String CR_PERMANENT_REGISTRATION_NOT_FOUND =
  897. "CR_PERMANENT_REGISTRATION_NOT_FOUND";
  898. /**
  899. * Warning message issued when an unrecognized entry is found.
  900. */
  901. String CR_RELOAD_BAD_COMPONENT_TYPE =
  902. "CR_RELOAD_BAD_COMPONENT_TYPE";
  903. /**
  904. * Exception message used when a shared library cannot be registered because
  905. * its ID is already in use.
  906. */
  907. String CR_SL_ALREADY_REGISTERED =
  908. "CR_SL_ALREADY_REGISTERED";
  909. /**
  910. * Exception message used when a shared library cannot be unregistered
  911. * because the name is not registered.
  912. */
  913. String CR_SL_NOT_REGISTERED =
  914. "CR_SL_NOT_REGISTERED";
  915. //
  916. // Message keys for Deployer
  917. //
  918. /**
  919. * Error - Service Unit already deployed.
  920. */
  921. String DMB_SU_ALREADY_DEPLOYED =
  922. "DMB_SU_ALREADY_DEPLOYED";
  923. /**
  924. * Error - Service Unit cannot be initialized, it is started.
  925. */
  926. String DMB_SU_CANNOT_INIT_STARTED =
  927. "DMB_SU_CANNOT_INIT_STARTED";
  928. /**
  929. * Error - Service Unit cannot be shut down, it is not stopped.
  930. */
  931. String DMB_SU_CANNOT_SHUT_DOWN_NOT_STOPPED =
  932. "DMB_SU_CANNOT_SHUT_DOWN_NOT_STOPPED";
  933. /**
  934. * Error - Service Unit cannot be started, it is not initialized.
  935. */
  936. String DMB_SU_CANNOT_START_NOT_INITIALIZED =
  937. "DMB_SU_CANNOT_START_NOT_INITIALIZED";
  938. /**
  939. * Error - Service Unit cannot be stopped, it is not started.
  940. */
  941. String DMB_SU_CANNOT_STOP_SHUT_DOWN =
  942. "DMB_SU_CANNOT_STOP_SHUT_DOWN";
  943. /**
  944. * Error - Service Unit cannot be undeployed, not shut down.
  945. */
  946. String DMB_SU_CANNOT_UNDEPLOY_NOT_SHUT_DOWN =
  947. "DMB_SU_CANNOT_UNDEPLOY_NOT_SHUT_DOWN";
  948. /**
  949. * Error - Service Unit operation cannot be performed, component is not
  950. * started.
  951. */
  952. String DMB_SU_COMP_NOT_STARTED =
  953. "DMB_SU_COMP_NOT_STARTED";
  954. /**
  955. * Error - Service Unit not found.
  956. */
  957. String DMB_SU_NOT_FOUND =
  958. "DMB_SU_NOT_FOUND";
  959. /**
  960. * Error - Service Unit operation threw exception.
  961. */
  962. String DMB_SU_OPERATION_EXCEPTION =
  963. "DMB_SU_OPERATION_EXCEPTION";
  964. /**
  965. * Error - Service Unit operation threw exception with no message text.
  966. */
  967. String DMB_SU_OPERATION_EXCEPTION_NO_MSG =
  968. "DMB_SU_OPERATION_EXCEPTION_NO_MSG";
  969. /**
  970. * Error - Service Unit operation was interrupted.
  971. */
  972. String DMB_SU_OPERATION_INTERRUPTED =
  973. "DMB_SU_OPERATION_INTERRUPTED";
  974. /**
  975. * Error - Service Unit operation was interrupted.
  976. */
  977. String DMB_SU_OPERATION_NOT_AVAILABLE =
  978. "DMB_SU_OPERATION_NOT_AVAILABLE";
  979. /**
  980. * Error - Service Unit operation timed out.
  981. */
  982. String DMB_SU_OPERATION_TIMEOUT =
  983. "DMB_SU_OPERATION_TIMEOUT";
  984. /**
  985. * Error - Service Unit state could not be persisted.
  986. */
  987. String DMB_SU_STATE_PERSIST_FAILURE =
  988. "DMB_SU_STATE_PERSIST_FAILURE";
  989. //
  990. // Message keys for EnvironmentContext
  991. //
  992. /**
  993. * Logging - Initial properties.
  994. */
  995. String EC_INITIAL_PROPERTIES_LIST =
  996. "EC_INITIAL_PROPERTIES_LIST";
  997. /**
  998. * Error - Invalid log level.
  999. */
  1000. String EC_INVALID_LOG_LEVEL =
  1001. "EC_INVALID_LOG_LEVEL";
  1002. /**
  1003. * Error - MBean creation failed.
  1004. */
  1005. String EC_MBEAN_CREATION_FAILED =
  1006. "EC_MBEAN_CREATION_FAILED";
  1007. /**
  1008. * Error - MBean name creation failed.
  1009. */
  1010. String EC_MBEAN_NAME_CREATION_FAILED =
  1011. "EC_MBEAN_NAME_CREATION_FAILED";
  1012. /**
  1013. * Error - MBean registration failed.
  1014. */
  1015. String EC_MBEAN_REGISTRATION_FAILED =
  1016. "EC_MBEAN_REGISTRATION_FAILED";
  1017. /**
  1018. * Warning - MBean unregistration failed.
  1019. */
  1020. String EC_MBEAN_UNREGISTRATION_FAILED =
  1021. "EC_MBEAN_UNREGISTRATION_FAILED";
  1022. /**
  1023. * Warning - Cannot create logger MBean.
  1024. */
  1025. String EC_NO_LOGGER_MBEAN =
  1026. "EC_NO_LOGGER_MBEAN";
  1027. /**
  1028. * Warning - Cannot create notification MBean.
  1029. */
  1030. String EC_NO_NOTIFICATION_MBEAN =
  1031. "EC_NO_NOTIFICATION_MBEAN";
  1032. /**
  1033. * Warning - Cannot create statistics MBean.
  1034. */
  1035. String EC_NO_STATISTICS_MBEAN =
  1036. "EC_NO_STATISTICS_MBEAN";
  1037. /**
  1038. * Logging - StringTranslator class loader not found.
  1039. */
  1040. String EC_STRING_TRANSLATOR_CLASSLOADER_NOT_FOUND =
  1041. "EC_STRING_TRANSLATOR_CLASSLOADER_NOT_FOUND";
  1042. /**
  1043. * Logging - TransactionManager not found.
  1044. */
  1045. String EC_TRANSACTION_MANAGER_NOT_FOUND =
  1046. "EC_TRANSACTION_MANAGER_NOT_FOUND";
  1047. /**
  1048. * Registry initialization failed.
  1049. */
  1050. String EC_JBI_REGISTRY_INIT_FAILED =
  1051. "EC_JBI_REGISTRY_INIT_FAILED";
  1052. //
  1053. // Message keys for FrameworkNotification
  1054. //
  1055. /**
  1056. * Error - failed to create user data for notification.
  1057. */
  1058. String FN_USER_DATA_CREATE_FAILED =
  1059. "FN_USER_DATA_CREATE_FAILED";
  1060. /**
  1061. * Error - exception sending notification.
  1062. */
  1063. String FN_SEND_NOTIFICATION_FAILED =
  1064. "FN_SEND_NOTIFICATION_FAILED";
  1065. //
  1066. // Message keys for ServiceUnit
  1067. //
  1068. /**
  1069. * Error - already exists.
  1070. */
  1071. String SU_ALREADY_EXISTS =
  1072. "SU_ALREADY_EXISTS";
  1073. /**
  1074. * Error - invalid state change.
  1075. */
  1076. String SU_INVALID_STATE_CHANGE =
  1077. "SU_INVALID_STATE_CHANGE";
  1078. /**
  1079. * Error - not found.
  1080. */
  1081. String SU_NOT_FOUND =
  1082. "SU_NOT_FOUND";
  1083. /**
  1084. * Service Unit state deployed (never initialized).
  1085. */
  1086. String SU_STATE_DEPLOYED =
  1087. "SU_STATE_DEPLOYED";
  1088. /**
  1089. * Service Unit state shutdown.
  1090. */
  1091. String SU_STATE_SHUTDOWN =
  1092. "SU_STATE_SHUTDOWN";
  1093. /**
  1094. * Service Unit state started.
  1095. */
  1096. String SU_STATE_STARTED =
  1097. "SU_STATE_STARTED";
  1098. /**
  1099. * Service Unit state stopped.
  1100. */
  1101. String SU_STATE_STOPPED =
  1102. "SU_STATE_STOPPED";
  1103. //
  1104. // Message keys for ServiceUnitFramework
  1105. //
  1106. /**
  1107. * Info - Service Unit deployed.
  1108. */
  1109. String SUF_DEPLOYED =
  1110. "SUF_DEPLOYED";
  1111. /**
  1112. * Info - Service Unit started.
  1113. */
  1114. String SUF_STARTED =
  1115. "SUF_STARTED";
  1116. /**
  1117. * Info - Service Unit stopped.
  1118. */
  1119. String SUF_STOPPED =
  1120. "SUF_STOPPED";
  1121. /**
  1122. * Info - Service Unit shut down.
  1123. */
  1124. String SUF_SHUT_DOWN =
  1125. "SUF_SHUT_DOWN";
  1126. /**
  1127. * Info - Service Unit undeployed.
  1128. */
  1129. String SUF_UNDEPLOYED =
  1130. "SUF_UNDEPLOYED";
  1131. //
  1132. // Message keys for ServiceUnitManager
  1133. //
  1134. /**
  1135. * Error - error in ServiceUnitManager.
  1136. */
  1137. String SUM_EXCEPTION =
  1138. "SUM_EXCEPTION";
  1139. /**
  1140. * Error - init() timeout limit reached.
  1141. */
  1142. String SUM_INIT_TIMEOUT_LIMIT =
  1143. "SUM_INIT_TIMEOUT_LIMIT";
  1144. /**
  1145. * Error - stack trace print.
  1146. */
  1147. String SUM_STACK_TRACE =
  1148. "SUM_STACK_TRACE";
  1149. /**
  1150. * Error - start() timeout limit reached.
  1151. */
  1152. String SUM_START_TIMEOUT_LIMIT =
  1153. "SUM_START_TIMEOUT_LIMIT";
  1154. /**
  1155. * Error - stop() timeout limit reached.
  1156. */
  1157. String SUM_STOP_TIMEOUT_LIMIT =
  1158. "SUM_STOP_TIMEOUT_LIMIT";
  1159. /**
  1160. * Error - shutDown() timeout limit reached.
  1161. */
  1162. String SUM_SHUTDOWN_TIMEOUT_LIMIT =
  1163. "SUM_SHUTDOWN_TIMEOUT_LIMIT";
  1164. //
  1165. // ComponentConfiguration messages
  1166. //
  1167. /**
  1168. * Error - Missing Component Configuration MBean.
  1169. */
  1170. String CCFG_MISSING_COMPONENT_CONFIG_MBEAN =
  1171. "CCFG_MISSING_COMPONENT_CONFIG_MBEAN";
  1172. /**
  1173. * Error - Could not persist attribute change.
  1174. */
  1175. String CCFG_PERSIST_ATTRIBUTE_FAILURE =
  1176. "CCFG_PERSIST_ATTRIBUTE_FAILURE";
  1177. /**
  1178. * Error - Could not add an application variable in the registry.
  1179. */
  1180. String CCFG_FAILED_ADD_APP_VAR_REG =
  1181. "CCFG_FAILED_ADD_APP_VAR_REG";
  1182. /**
  1183. * Error - Could not update an application variable in the registry.
  1184. */
  1185. String CCFG_FAILED_UPDATE_APP_VAR_REG =
  1186. "CCFG_FAILED_UPDATE_APP_VAR_REG";
  1187. /**
  1188. * Error - Could not deleted an application variable from the registry.
  1189. */
  1190. String CCFG_FAILED_DELETE_APP_VAR_REG =
  1191. "CCFG_FAILED_DELETE_APP_VAR_REG";
  1192. /**
  1193. * Unsupported Operation.
  1194. */
  1195. String CCFG_UNSUPPORTED_OPERATION =
  1196. "CCFG_UNSUPPORTED_OPERATION";
  1197. /**
  1198. * Error - Could not add an application configuration to the registry.
  1199. */
  1200. String CCFG_FAILED_ADD_APP_CFG_REG =
  1201. "CCFG_FAILED_ADD_APP_CFG_REG";
  1202. /**
  1203. * Error - Could not update an application configuration in the registry.
  1204. */
  1205. String CCFG_FAILED_UPDATE_APP_CFG_REG =
  1206. "CCFG_FAILED_UPDATE_APP_CFG_REG";
  1207. /**
  1208. * Error - Could not deleted an application configuration from the registry.
  1209. */
  1210. String CCFG_FAILED_DELETE_APP_CFG_REG =
  1211. "CCFG_FAILED_DELETE_APP_CFG_REG";
  1212. //
  1213. // XML Utility messages
  1214. //
  1215. /**
  1216. * Error - Missing required element.
  1217. */
  1218. String XML_MISSING_ELEMENT =
  1219. "XML_MISSING_ELEMENT";
  1220. /**
  1221. * Error - Extra elements found when not expected.
  1222. */
  1223. String XML_EXTRA_ELEMENTS =
  1224. "XML_EXTRA_ELEMENTS";
  1225. /**
  1226. * Error - Empty element found when not expected.
  1227. */
  1228. String XML_EMPTY_ELEMENT =
  1229. "XML_EMPTY_ELEMENT";
  1230. /**
  1231. * Error - Invalid element found.
  1232. */
  1233. String XML_INVALID_ELEMENT =
  1234. "XML_INVALID_ELEMENT";
  1235. /**
  1236. * Error - DOM exception while processing XML.
  1237. */
  1238. String XML_DOM_EXCEPTION =
  1239. "XML_DOM_EXCEPTION";
  1240. }