org.apache.servicemix.jbi.deployer
Interface SharedLibrary

All Known Implementing Classes:
SharedLibraryImpl

public interface SharedLibrary

This interface represents a JBI Shared Library and will be registered in the OSGi registry


Method Summary
 ClassLoader getClassLoader()
          Create a classloader for this shared library
 Component[] getComponents()
          Retrieve a list of components using this shared library
 String getDescription()
          Retrieves the description of this shared library
 String getDescriptor()
          Retrieve the JBI descriptor for this service assembly
 String getName()
          Retrieves the name of this shared library
 String getVersion()
          Retrieves the version of this shared library
 

Method Detail

getName

String getName()
Retrieves the name of this shared library

Returns:
the name

getDescription

String getDescription()
Retrieves the description of this shared library

Returns:
the description

getDescriptor

String getDescriptor()
Retrieve the JBI descriptor for this service assembly

Returns:
the JBI descriptor

getVersion

String getVersion()
Retrieves the version of this shared library

Returns:
the version

getClassLoader

ClassLoader getClassLoader()
Create a classloader for this shared library

Returns:
a new classloader

getComponents

Component[] getComponents()
Retrieve a list of components using this shared library

Returns:


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.