|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.api.deployment.MetaData
public class MetaData
MetaData associated with a Deployer. This is used by the deployment layers to identify the special requirements of the Deployer. Supported Requirements : invalidatesClassLoader Deployer can load classes that need to be reloaded for the application to run successfully hence requiring the class loader to be flushed and reinitialized between the prepare and load phase. componentAPIs Components can use APIs that are defined outside of the component's bundle. These component's APIs (eg. Java EE APIs) must be imported by the application class loader before any application code is loaded.
| Constructor Summary | |
|---|---|
MetaData(boolean invalidatesClassLoader,
java.lang.Class[] provides,
java.lang.Class[] requires)
Constructor for the Deployer's metadata |
|
| Method Summary | |
|---|---|
boolean |
invalidatesClassLoader()
Returns whether or not the class loader is invalidated by the Deployer's propare phase. |
java.lang.Class[] |
provides()
Returns the list of types of metadata this deployer will provide to the deployement context upon the successful completion of the prepare method. |
java.lang.Class[] |
requires()
Returns the list of types of metadata this deployer will require to run successfully the prepare method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaData(boolean invalidatesClassLoader,
java.lang.Class[] provides,
java.lang.Class[] requires)
invalidatesClassLoader - If true, invalidates the class loader used during
the deployment's prepare phase| Method Detail |
|---|
public boolean invalidatesClassLoader()
public java.lang.Class[] provides()
public java.lang.Class[] requires()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||