|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.extensions.ERXFrameworkPrincipal
Designated starter class for frameworks.
the finishInitialization
will be called when the app finishes startup.
To use, subclass it and set the NSPrincipalClass of your framework to the subclass.
See the ERXCoreBusinessLogic and BTBusinessLogic frameworks for an example of usage.
Field Summary | |
static ERXLogger |
log
logging support |
Constructor Summary | |
ERXFrameworkPrincipal()
|
Method Summary | |
abstract void |
finishInitialization()
Overridden by subclasses to provide framework initialization. |
void |
finishInitialization(NSNotification n)
Notification method called when the WOApplication posts the notification 'ApplicationWillFinishLaunching'. |
ERXLogger |
log()
Access to the logging mechanism |
static void |
setUpFrameworkPrincipalClass(Class c)
Sets up a given framework principal class to recieve notification when it is safe for the framework to be initialized. |
static ERXFrameworkPrincipal |
sharedInstance(Class c)
Gets the shared framework principal instance for a given class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ERXLogger log
Constructor Detail |
public ERXFrameworkPrincipal()
Method Detail |
public static ERXFrameworkPrincipal sharedInstance(Class c)
public static void setUpFrameworkPrincipalClass(Class c)
c
- principal classpublic final void finishInitialization(NSNotification n)
n
- notification that is posted after the WOApplication
has been constructed, but before the application is
ready for accepting requests.public abstract void finishInitialization()
public ERXLogger log()
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |