#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# This software is the proprietary information of Sun Microsystems, Inc.
# Use is subject to license terms.
# 
# Copyright 2004 Sun Microsystems, Inc.  Tous droits r\351serv\351s.
# Ce logiciel est propri\351t\351 de Sun Microsystems, Inc.
# Distribu\351 par des licences qui en restreignent l'utilisation.
#
#  ident    "@(#)JesmfMessages.pm 1.3    04/09/27 SMI"
#




package JesmfMessages;

use vars qw(@ISA @EXPORT @EXPORT_OK);

require Exporter;
require AutoLoader;

@ISA = qw(Exporter AutoLoader);
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.
#@EXPORT = qw( );

$MFWK_USG1  = "\nUsage:\n";
$MFWK_USG2  = "------\n";
$MFWK_USG3  = " \n";
$MFWK_USG4  = " \nmfwkadm --help|?";
$MFWK_USG5  = " \n";
$MFWK_USG6  = " \nmfwkadm start|stop|restart";
$MFWK_USG7  = " \nmfwkadm list-params";
$MFWK_USG8  = " \n";
$MFWK_USG9  = " \nmfwkadm list-modules";
$MFWK_USG10 = " \nmfwkadm info <moduleName>";
$MFWK_USG11 = " \n\twhere moduleName is one of the modules returned by \\\"module list\\\"";
$MFWK_USG12 = " \n";
$MFWK_USG13 = " \nmfwkadm pm-job list";
$MFWK_USG14 = " \nmfwkadm pm-job info    <jobName>";
$MFWK_USG15 = " \nmfwkadm pm-job create  <jobName> granularity=<int value> object=<object to monitor>";
$MFWK_USG16 = " \n\tif one job monitors several objects, put object=<object1> object=<object2>...";
$MFWK_USG17 = " \nmfwkadm pm-job delete  <jobName>";
$MFWK_USG18 = " \nmfwkadm pm-job suspend <jobName>";
$MFWK_USG19 = " \nmfwkadm pm-job resume  <jobName>";
$MFWK_USG20 = " \n\twhere jobName is one of the jobs returned by \\\"pm-job list\\\"";
$MFWK_USG21 = " \n";
$MFWK_USG22 = " \nmfwkadm opstat-job list";
$MFWK_USG23 = " \nmfwkadm opstat-job info    <jobName>";
$MFWK_USG24 = " \nmfwkadm opstat-job create  <jobName> granularity=<int value> object=<object to monitor>";
$MFWK_USG25 = " \n\tif one job monitors several objects, put object=<object1> object=<object2>...";
$MFWK_USG26 = " \nmfwkadm opstat-job delete  <jobName>";
$MFWK_USG27 = " \nmfwkadm opstat-job suspend <jobName>";
$MFWK_USG28 = " \nmfwkadm opstat-job resume  <jobName>";
$MFWK_USG29 = " \n\twhere jobName is one of the jobs returned by \\\"opstat-job list\\\"";
$MFWK_USG30 = " \n";

$MFWK_ERR_OS01 = "Not supported on detected OS *%s*\n";
$MFWK_ERR_UNK01 = "Internal error encountered, unknown command.\n";
$MFWK_ERR_UNK02 = "Internal error encountered, unknown pm-job subcommand.\n";
$MFWK_ERR_UNK03 = "Internal error encountered, unknown opstat-job subcommand.\n";
$MFWK_ERR_UNK05 = "\nError occured in %s\n";
$MFWK_ERR_ST01 = "JavaES Cacao module descriptor list is empty. Check content of %s.\n";
$MFWK_ERR_ST02 = "Unable to open %s";
$MFWK_ERR_ST03 = "dir %s not found";
$MFWK_ERR_ST04 = "Error while executing %s\nStdout/Stderr: %s\nShell: %s\n";
$MFWK_ERR_ST05 = "Cacao module descriptor list is empty. Check the agent is running.\n";
$MFWK_ERR_ROOT01 = "Command has to be run as root";


$MFWK_INFO_ST01 = "-> Deploying module: %s/%s\n";
$MFWK_INFO_ST02 = "-> Undeploying module: %s\n";
$MFWK_INFO_ST03 = "-> Undeploying agent module: %s\n";
$MFWK_INFO_ST04 = "-> Deploying agent module: %s/%s\n";


1;

