|Constructor and Description|
|Modifier and Type||Method and Description|
This explicitly triggers processing of all plugin.xml registered extensions.
public static void process(java.lang.ClassLoader classLoader)
bundle activation. As such this method is useful only in non-Eclipse applications to ensure that plugin.xml registrations are processed just as they are in an Eclipse application. The exploit this mechanism, the classpath of the application must minimally include
This method creates a registry if
one does not already exist.
It will first consider all entries on the classpath as provided by
to determine if there are any folder entries whose parent folder contains a plugin.xml;
such entries are common when launching a Java application from Eclipse at development time.
In that case, the class loader is not used and only registrations for entries of the classpath are considered.
Otherwise, the class loader is used to find all plugin.xml resources and only those entries are considered.
classLoader- the class loader used to locate plugin.xml resources; it may be null in which class the
current thread's context class loaderis used, if necessary.