|
|
| WebLogic Server 7.0 Code Examples, BEA Systems, Inc. |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
examples.i18n.logging.startup
Class UserSMessagesStartupImpl
java.lang.Object
|
+--examples.i18n.logging.startup.UserSMessagesStartupImpl
- All Implemented Interfaces:
- java.rmi.Remote, weblogic.common.T3ShutdownDef, weblogic.common.T3StartupDef, UserSMessagesStartup
- public class UserSMessagesStartupImpl
- extends java.lang.Object
- implements UserSMessagesStartup, weblogic.common.T3StartupDef, weblogic.common.T3ShutdownDef
UserSMessagesStartupImpl is a simple startup class which shows how to
use WebLogic i18n to log your own application's info and error messages
to the server log. There is a similar example showing how to do the
same thing from a servlet instead of a startup class.
You exercise this example with the java client: UserSMessagesStartClient
After running the example once, change your host computer's locale
from "English" to "German" or "French" and reboot the WebLogic server. Run the example
again and note that the example's log messages are displayed in either "German" or "French"
depending upon your settings.
- Author:
- Copyright (c) 2000-2002 by BEA Systems, Inc. All Rights Reserved.
|
Method Summary |
void |
issueLogMessages()
|
void |
setServices(weblogic.common.T3ServicesDef services)
|
java.lang.String |
shutdown(java.lang.String name,
java.util.Hashtable dontCare)
|
java.lang.String |
startup(java.lang.String name,
java.util.Hashtable unused_ht)
|
int |
verifyMCode()
|
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserSMessagesStartupImpl
public UserSMessagesStartupImpl()
throws java.rmi.RemoteException
issueLogMessages
public void issueLogMessages()
throws java.rmi.RemoteException
- Specified by:
issueLogMessages in interface UserSMessagesStartup
setServices
public void setServices(weblogic.common.T3ServicesDef services)
- Specified by:
setServices in interface weblogic.common.T3StartupDef
shutdown
public java.lang.String shutdown(java.lang.String name,
java.util.Hashtable dontCare)
throws java.lang.Exception
- Specified by:
shutdown in interface weblogic.common.T3ShutdownDef
startup
public java.lang.String startup(java.lang.String name,
java.util.Hashtable unused_ht)
throws java.lang.Exception
- Specified by:
startup in interface weblogic.common.T3StartupDef
verifyMCode
public int verifyMCode()
throws java.rmi.RemoteException
- Specified by:
verifyMCode in interface UserSMessagesStartup
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.