xp-framework/rfc — Issue #220: Classpath initializers
Author: thekid
Created: 2011-12-20 20:03:51+00:00
State: open
Labels: framework

Scope of Change
==
Every class path will provide a static initializer which is executed when the given class path element is registered.

Rationale
==
Prerequisite for XP Framework Modularization - see RFC #204.

Functionality
==
If a classpath element (a path or a XAR file) contains a file named `module-info.xp`, then it is loaded and initialized.

module-info.xp
--

```php

```

Security considerations
==
n/a

Speed impact
==
Slightly slower because loading a class path will add an addition `stat()` call.

Dependencies
==
None.

Related documents
==
RFC #0204