/** * Get the version of this AXIS. * * @return the version of this axis2 */ public static String getVersion() { return Messages.getMessage("axisVersion") + "\n" + Messages.getMessage("builtOn"); }
public static void innit(){ MessageBundle bundle = new MessageBundle( projectName, rootPackageName, resourceName, locale, SandeshaMessageHelper.class.getClassLoader(), rootBundle); Messages.addMessageBundle(msgBundleKey, bundle); }
public static MessageBundle getMessageBundle() { return getMessageBundle(DEFAULT_MESSAGE_BUNDLE_KEY); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @return The formatted message */ public static String getMessage(String key) throws MissingResourceException{ try{ return Messages.getMessageFromBundle(msgBundleKey, key); } catch(MissingResourceException e){ throw e; } catch(Exception e){ return null; } }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @return The formatted message */ public static String getMessage(String key, String arg0) throws MissingResourceException{ try{ return Messages.getMessageFromBundle(msgBundleKey, key, arg0); } catch(MissingResourceException e){ throw e; } catch(Exception e){ return null; } }
/** * Returns the Axis Version number and build date. * <p/> * Example output: 1.1 Jul 08, 2003 (09:00:12 EDT) * * @return the full version of this axis2 */ public static String getVersionText() { return Messages.getMessage("axisVersionRaw"); }
public static MessageBundle getMessageBundle() { return getMessageBundle(DEFAULT_MESSAGE_BUNDLE_KEY); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @param arg1 The argument to place in variable {1} * @return The formatted message */ public static String getMessage(String key, String arg0, String arg1) throws MissingResourceException{ try{ return Messages.getMessageFromBundle(msgBundleKey, key, arg0, arg1); } catch(MissingResourceException e){ throw e; } catch(Exception e){ return null; } }
/** * Returns the Axis Version number and build date. * <p/> * Example output: 1.1 Jul 08, 2003 (09:00:12 EDT) * * @return the full version of this axis2 */ public static String getVersionText() { return Messages.getMessage("axisVersionRaw"); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param args An array of objects to place in corresponding variables * @return The formatted message */ public static String getMessage(String key, String[] args) throws MissingResourceException { MessageBundle messageBundle = getMessageBundle(DEFAULT_MESSAGE_BUNDLE_KEY); return messageBundle.getMessage(key, args); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @param arg1 The argument to place in variable {1} * @param arg2 The argument to place in variable {2} * @return The formatted message */ public static String getMessage(String key, String arg0, String arg1, String arg2) throws MissingResourceException{ try{ return Messages.getMessageFromBundle(msgBundleKey, key, arg0, arg1, arg2); } catch(MissingResourceException e){ throw e; } catch(Exception e){ return null; } }
/** * Get the version of this AXIS. * * @return the version of this axis2 */ public static String getVersion() { return Messages.getMessage("axisVersion") + "\n" + Messages.getMessage("builtOn"); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @return The formatted message */ public static String getMessage(String key, String arg0) throws MissingResourceException { MessageBundle messageBundle = getMessageBundle(DEFAULT_MESSAGE_BUNDLE_KEY); return messageBundle.getMessage(key, arg0); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @param arg1 The argument to place in variable {1} * @param arg2 The argument to place in variable {2} * @param arg3 The argument to place in variable {3} * @return The formatted message */ public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3) throws MissingResourceException{ try{ return Messages.getMessageFromBundle(msgBundleKey, key, arg0, arg1, arg2, arg3); } catch(MissingResourceException e){ throw e; } catch(Exception e){ return null; } }
public OperationClient createClient(ServiceContext sc, Options options) { throw new UnsupportedOperationException( Messages.getMessage("mepnotyetimplemented", mepURI)); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @return The formatted message */ public static String getMessage(String key) throws MissingResourceException { MessageBundle messageBundle = getMessageBundle(DEFAULT_MESSAGE_BUNDLE_KEY); return messageBundle.getMessage(key); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @param arg1 The argument to place in variable {1} * @param arg2 The argument to place in variable {2} * @param arg3 The argument to place in variable {3} * @param arg4 The argument to place in variable {4} * @return The formatted message */ public static String getMessage(String key, String arg0, String arg1, String arg2, String arg3, String arg4) throws MissingResourceException{ try{ return Messages.getMessageFromBundle(msgBundleKey, key, arg0, arg1, arg2, arg3, arg4); } catch(MissingResourceException e){ throw e; } catch(Exception e){ return null; } }
public OperationClient createClient(ServiceContext sc, Options options) { throw new UnsupportedOperationException( Messages.getMessage("mepnotyetimplemented", mepURI)); }
/** * Get a message from resource.properties from the package of the given object. * * @param key The resource key * @param arg0 The argument to place in variable {0} * @return The formatted message */ public static String getMessage(String key, String arg0) throws MissingResourceException { MessageBundle messageBundle = getMessageBundle(DEFAULT_MESSAGE_BUNDLE_KEY); return messageBundle.getMessage(key, arg0); }
/** * Sets the thread factory. * * @param pool The thread pool * @throws AxisFault If a thread pool has already been set */ public void setThreadPool(ThreadFactory pool) throws AxisFault { if (threadPool == null) { threadPool = pool; } else { throw new AxisFault(Messages.getMessage("threadpoolset")); } }