Search in sources :

Example 1 with ExtensionDeclaration

use of org.apache.felix.ipojo.extender.ExtensionDeclaration in project felix by apache.

the class Arch method extensions.

/**
 * Displays the list of available extensions.
 */
@Descriptor("Display iPOJO extensions")
public void extensions() {
    PrintStream out = System.out;
    out.println("Available extensions:");
    for (ExtensionDeclaration extension : m_extensions) {
        out.println("  * " + extension.getExtensionName());
    }
}
Also used : PrintStream(java.io.PrintStream) ExtensionDeclaration(org.apache.felix.ipojo.extender.ExtensionDeclaration) Descriptor(org.apache.felix.service.command.Descriptor)

Aggregations

PrintStream (java.io.PrintStream)1 ExtensionDeclaration (org.apache.felix.ipojo.extender.ExtensionDeclaration)1 Descriptor (org.apache.felix.service.command.Descriptor)1