public class PlugInsLoaded extends java.util.Vector<PlugIn>
Project.plugInsLoaded
,
Serialized FormConstructor and Description |
---|
PlugInsLoaded() |
Modifier and Type | Method and Description |
---|---|
jade.core.ProfileImpl |
getJadeProfile(jade.core.ProfileImpl jadeContainerProfile)
This method invokes all loaded PlugIn-Classes, so that it can set
further configurations for JADE container.
|
PlugIn |
getPlugIn(java.lang.String plugInName_or_plugInReference)
This method returns a single PlugIn Instance
given by its name or its class reference.
|
boolean |
haveValidPreconditions()
Checks, if the plugins return that they find valid preconditions before the execution of the MAS.
|
boolean |
isLoaded(java.lang.String plugInName_or_plugInReference)
This method checks if a PlugInClass is already loaded.
|
PlugIn |
loadPlugin(Project project,
java.lang.String plugInReference)
This method will load a PlugIn given by its class-reference.
|
void |
notifyPluginsForStartMAS()
Notifies all loaded plugins for the upcoming agent start.
|
void |
notifyPluginsForTerminatedMAS()
Notifies all project plugins for agent termination.
|
void |
removePlugIn(PlugIn plugIn)
This will unload and remove a single ProjectPlugin from the current project.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public PlugIn loadPlugin(Project project, java.lang.String plugInReference) throws PlugInLoadException
project
- the projectplugInReference
- the reference to the plug-in classPlugInLoadException
- the plug in load exceptionpublic void removePlugIn(PlugIn plugIn)
plugIn
- the plug-inpublic PlugIn getPlugIn(java.lang.String plugInName_or_plugInReference)
plugInName_or_plugInReference
- the plug in name_or_plug in referencepublic boolean isLoaded(java.lang.String plugInName_or_plugInReference)
plugInName_or_plugInReference
- the plug-in name or the plug-in referencepublic jade.core.ProfileImpl getJadeProfile(jade.core.ProfileImpl jadeContainerProfile)
jadeContainerProfile
- The profile to changepublic boolean haveValidPreconditions()
public void notifyPluginsForStartMAS()
public void notifyPluginsForTerminatedMAS()