Skip navigation links
A C D E G H J L M N O P R S T 

A

addEdge(Node<?>, Node<?>) - Method in class org.plugface.core.internal.di.Graph
 
addEdges(Node<?>, Collection<Node<?>>) - Method in class org.plugface.core.internal.di.Graph
 
addLeaf(Node<?>) - Method in class org.plugface.core.internal.di.Graph
 
addPlugin(T) - Method in class org.plugface.core.impl.DefaultPluginContext
 
addPlugin(String, T) - Method in class org.plugface.core.impl.DefaultPluginContext
 
addPlugin(T) - Method in interface org.plugface.core.PluginContext
Register a plugin in the context
addPlugin(String, T) - Method in interface org.plugface.core.PluginContext
Register a plugin in the context with the given name
annotationProcessor - Variable in class org.plugface.core.impl.DefaultPluginManager
 
AnnotationProcessor - Class in org.plugface.core.internal
Internal class used to process the Plugin annotation
AnnotationProcessor() - Constructor for class org.plugface.core.internal.AnnotationProcessor
 

C

CircularDependencyException - Exception in org.plugface.core.internal.di
 
CircularDependencyException(String, Object...) - Constructor for exception org.plugface.core.internal.di.CircularDependencyException
 
CircularDependencyException(String) - Constructor for exception org.plugface.core.internal.di.CircularDependencyException
 
CircularDependencyException(String, Throwable) - Constructor for exception org.plugface.core.internal.di.CircularDependencyException
 
classList(Class<?>...) - Static method in class org.plugface.core.factory.PluginSources
Load plugins from the given list of Class.
context - Variable in class org.plugface.core.impl.DefaultPluginManager
 
create(Class<?>) - Method in class org.plugface.core.impl.DefaultPluginManager
 

D

DefaultPluginContext - Class in org.plugface.core.impl
 
DefaultPluginContext() - Constructor for class org.plugface.core.impl.DefaultPluginContext
 
DefaultPluginContext(Map<String, Object>) - Constructor for class org.plugface.core.impl.DefaultPluginContext
 
defaultPluginManager() - Static method in class org.plugface.core.factory.PluginManagers
A default PluginManager configured with internal dependencies for PluginContext, AnnotationProcessor and DependencyResolver
DefaultPluginManager - Class in org.plugface.core.impl
 
DefaultPluginManager(PluginContext, AnnotationProcessor, DependencyResolver) - Constructor for class org.plugface.core.impl.DefaultPluginManager
Ideally not for public usage.
dependencyResolver - Variable in class org.plugface.core.impl.DefaultPluginManager
 
DependencyResolver - Class in org.plugface.core.internal
Internal class used to create a dependency graph for plugin dependency injection.
DependencyResolver(AnnotationProcessor) - Constructor for class org.plugface.core.internal.DependencyResolver
 
DuplicateNodeException - Exception in org.plugface.core.internal.di
 
DuplicateNodeException(String, Object...) - Constructor for exception org.plugface.core.internal.di.DuplicateNodeException
 
DuplicateNodeException(String) - Constructor for exception org.plugface.core.internal.di.DuplicateNodeException
 
DuplicateNodeException(String, Throwable) - Constructor for exception org.plugface.core.internal.di.DuplicateNodeException
 

E

equals(Object) - Method in class org.plugface.core.internal.di.Node
 

G

get() - Method in class org.plugface.core.PluginRef
 
getAllPlugins() - Method in class org.plugface.core.impl.DefaultPluginContext
 
getAllPlugins() - Method in class org.plugface.core.impl.DefaultPluginManager
 
getAllPlugins() - Method in interface org.plugface.core.PluginContext
Return the complete list of all the plugins currently registered
getAllPlugins() - Method in interface org.plugface.core.PluginManager
Return the complete list of all the plugins currently registered
getDependencies(Class<?>) - Method in class org.plugface.core.internal.AnnotationProcessor
 
getName() - Method in class org.plugface.core.PluginRef
 
getPermissionProperties() - Method in class org.plugface.core.internal.PluginClassLoader
 
getPermissions(CodeSource) - Method in class org.plugface.core.internal.PluginClassLoader
Create a set of Permission for the specified CodeSource, given a PluginClassLoader.permissionProperties.
getPlugin(String) - Method in class org.plugface.core.impl.DefaultPluginContext
 
getPlugin(Class<T>) - Method in class org.plugface.core.impl.DefaultPluginContext
 
getPlugin(String) - Method in class org.plugface.core.impl.DefaultPluginManager
 
getPlugin(Class<T>) - Method in class org.plugface.core.impl.DefaultPluginManager
 
getPlugin(String) - Method in interface org.plugface.core.PluginContext
Return an instance of the plugin that is registered with the given name
getPlugin(Class<T>) - Method in interface org.plugface.core.PluginContext
Return an instance of the plugin matching the given type given type
getPlugin(String) - Method in interface org.plugface.core.PluginManager
Return an instance of the plugin that is registered with the given name
getPlugin(Class<T>) - Method in interface org.plugface.core.PluginManager
Return an instance of the plugin matching the given type given type
getPluginName(T) - Static method in class org.plugface.core.internal.AnnotationProcessor
 
getPluginName(Class<T>) - Static method in class org.plugface.core.internal.AnnotationProcessor
 
getRefClass() - Method in class org.plugface.core.internal.di.Node
 
getType() - Method in class org.plugface.core.PluginRef
 
Graph - Class in org.plugface.core.internal.di
 
Graph() - Constructor for class org.plugface.core.internal.di.Graph
 

H

hasDependencies(Class<?>) - Method in class org.plugface.core.internal.AnnotationProcessor
 
hashCode() - Method in class org.plugface.core.internal.di.Node
 
hasPlugin(String) - Method in class org.plugface.core.impl.DefaultPluginContext
 
hasPlugin(Class<T>) - Method in class org.plugface.core.impl.DefaultPluginContext
 
hasPlugin(String) - Method in interface org.plugface.core.PluginContext
Check if the context has a plugin with the given name
hasPlugin(Class<T>) - Method in interface org.plugface.core.PluginContext
Check if the context has a plugin with the given type

J

jarSource(String) - Static method in class org.plugface.core.factory.PluginSources
Load plugins from JAR files located at the given path
jarSource(URI) - Static method in class org.plugface.core.factory.PluginSources
Load plugins from JAR files located at the given URI

L

load() - Method in interface org.plugface.core.PluginSource
Load a list of classes that are either plugins or related code
loadPlugins(PluginSource) - Method in class org.plugface.core.impl.DefaultPluginManager
 
loadPlugins(PluginSource) - Method in interface org.plugface.core.PluginManager
Load a set of plugin retrieved from the give PluginSource, instantiating the objects, resolving any dependency and registering them in the context

M

MissingDependencyException - Exception in org.plugface.core.internal.di
An exception thrown by a plugin when it depends on another plugin but this one has not been loaded
MissingDependencyException(String, Object...) - Constructor for exception org.plugface.core.internal.di.MissingDependencyException
 

N

newPluginManager(PluginContext, AnnotationProcessor, DependencyResolver) - Static method in class org.plugface.core.factory.PluginManagers
 
Node<T> - Class in org.plugface.core.internal.di
 
Node(Class<T>) - Constructor for class org.plugface.core.internal.di.Node
 

O

of(T, String) - Static method in class org.plugface.core.PluginRef
 
org.plugface.core - package org.plugface.core
 
org.plugface.core.annotations - package org.plugface.core.annotations
 
org.plugface.core.factory - package org.plugface.core.factory
 
org.plugface.core.impl - package org.plugface.core.impl
 
org.plugface.core.internal - package org.plugface.core.internal
 
org.plugface.core.internal.di - package org.plugface.core.internal.di
 

P

Plugin - Annotation Type in org.plugface.core.annotations
Annotation marking plugin classes that will be loaded at runtime.
PluginClassLoader - Class in org.plugface.core.internal
Custom URLClassLoader that is used to load Plugin classes from Jar files.
PluginClassLoader(URL) - Constructor for class org.plugface.core.internal.PluginClassLoader
Construct a PluginClassLoader from an single URL
PluginClassLoader(URL[]) - Constructor for class org.plugface.core.internal.PluginClassLoader
Construct a PluginClassLoader from an array of URL
PluginContext - Interface in org.plugface.core
 
PluginManager - Interface in org.plugface.core
 
PluginManagers - Class in org.plugface.core.factory
 
PluginManagers() - Constructor for class org.plugface.core.factory.PluginManagers
 
PluginRef<T> - Class in org.plugface.core
 
PluginSource - Interface in org.plugface.core
 
PluginSources - Class in org.plugface.core.factory
 
PluginSources() - Constructor for class org.plugface.core.factory.PluginSources
 

R

register(T) - Method in class org.plugface.core.impl.DefaultPluginManager
 
register(String, T) - Method in class org.plugface.core.impl.DefaultPluginManager
 
register(T) - Method in interface org.plugface.core.PluginManager
Register a plugin in the context
register(String, T) - Method in interface org.plugface.core.PluginManager
Register a plugin in the context with the given name
removePlugin(T) - Method in class org.plugface.core.impl.DefaultPluginContext
 
removePlugin(String) - Method in class org.plugface.core.impl.DefaultPluginContext
 
removePlugin(String) - Method in class org.plugface.core.impl.DefaultPluginManager
 
removePlugin(T) - Method in class org.plugface.core.impl.DefaultPluginManager
 
removePlugin(T) - Method in interface org.plugface.core.PluginContext
Remove a plugin from the context
removePlugin(String) - Method in interface org.plugface.core.PluginContext
Remove a plugin with the given name from the context
removePlugin(String) - Method in interface org.plugface.core.PluginManager
Remove a plugin with the given name from the context
removePlugin(T) - Method in interface org.plugface.core.PluginManager
Remove a plugin from the context
resolve(Collection<Class<?>>) - Method in class org.plugface.core.internal.DependencyResolver
 
resolve() - Method in class org.plugface.core.internal.di.Graph
 

S

setPermissionProperties(Properties) - Method in class org.plugface.core.internal.PluginClassLoader
 

T

toString() - Method in class org.plugface.core.internal.di.Node
 
A C D E G H J L M N O P R S T 
Skip navigation links

Copyright © 2017–2018 PlugFace. All rights reserved.