oracle.panama.model
Class CacheManager
java.lang.Object
oracle.panama.model.CacheManager
- public final class CacheManager
- extends java.lang.Object
CacheManager is a utility class for Third Party Developer who are developing Wireless Application using Wireless Model Object( oracle.panama.model.* ).
The following is the code snippet shown how to use CacheManager when writing simple Java Application using Model Object:
public static void main( String[] argv )
{
// Initialize Wireless Runtime Environment
String name = CacheManager.initModelController();
// Safe to call Model Object
// Cleanup Wireless Runtime Environment
CacheManager.stopModelController();
System.exit( 0 );
}
Method Summary |
static java.lang.String |
initModelController()
This method will initialize Wireless Runtime Environment, it should be called before calling any other Wireless Object |
static void |
stopModelController()
This method will clean up running Wireless Runtime Environment, de-register itself from Wireless Schema in AS Infra DB. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheManager
public CacheManager()
initModelController
public static final java.lang.String initModelController()
- This method will initialize Wireless Runtime Environment, it should be called before calling any other Wireless Object
-
- Returns:
- unique process name to identify running Wireless Application, which is registered in Wireless Schema in AS Infra DB
stopModelController
public static final void stopModelController()
- This method will clean up running Wireless Runtime Environment, de-register itself from Wireless Schema in AS Infra DB. This should only be called after the last call to Wireless Model Object
Copyright © 2004 Oracle Corporation. All Rights Reserved.