com.atlassian.plugin.spring
Annotation Type AvailableToPlugins
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface AvailableToPlugins
Annotation for Spring beans which are made available to OSGi plugin components
If a Class is specified, then the bean is exposed only as that class -- otherwise it is exposed as all interfaces it implements.
value
public abstract java.lang.Class value
- Returns:
- The interface the bean is exposed as
- Default:
- java.lang.Void.class
contextClassLoaderStrategy
public abstract ContextClassLoaderStrategy contextClassLoaderStrategy
- Returns:
- The context class loader strategy to use when determine which CCL should be set when host component methods are invoked
- Default:
- com.atlassian.plugin.osgi.hostcomponents.ContextClassLoaderStrategy.USE_HOST
Copyright © 2010 Atlassian. All Rights Reserved.