public interface ClassLoadService extends BaseClassLoadService
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends jade.core.Agent> |
getAgentClass(java.lang.String agentClassName)
Has to returns the agent class for the specified agent class name.
|
DynamicLoadBalancingBase |
getDynamicLoadBalancing(java.lang.String balancingClassName,
jade.core.Agent executingAgent)
Has to returns an instance of a static load balancing to use by the specified agent.
|
PlugIn |
getPlugInInstance(java.lang.String pluginClassName,
Project project)
Has to return the
PlugIn instance for the specified class name. |
StaticLoadBalancingBase |
getStaticLoadBalancing(java.lang.String balancingClassName,
jade.core.Agent executingAgent)
Has to returns an instance of a static load balancing to use by the specified agent.
|
TimeModel |
getTimeModelInstance(java.lang.String className)
Has to return a
TimeModel instance from the specified class name. |
forName, getOntologyInstance, newInstance
java.lang.Class<? extends jade.core.Agent> getAgentClass(java.lang.String agentClassName) throws java.lang.NoClassDefFoundError, java.lang.ClassNotFoundException
agentClassName
- the agent class namejava.lang.NoClassDefFoundError
- the no class def found errorjava.lang.ClassNotFoundException
- the class not found exceptionTimeModel getTimeModelInstance(java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.SecurityException
TimeModel
instance from the specified class name.className
- the class namejava.lang.ClassNotFoundException
- the class not found exceptionjava.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.SecurityException
- the security exceptionPlugIn getPlugInInstance(java.lang.String pluginClassName, Project project) throws java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.NoSuchMethodException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
PlugIn
instance for the specified class name.pluginClassName
- the PlugIn
class nameproject
- the projectjava.lang.ClassNotFoundException
- the class not found exceptionjava.lang.SecurityException
- the security exceptionjava.lang.NoSuchMethodException
- the no such method exceptionjava.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.reflect.InvocationTargetException
- the invocation target exceptionStaticLoadBalancingBase getStaticLoadBalancing(java.lang.String balancingClassName, jade.core.Agent executingAgent) throws java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.NoSuchMethodException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
balancingClassName
- the balancing class nameexecutingAgent
- the executing agentjava.lang.ClassNotFoundException
- the class not found exceptionjava.lang.SecurityException
- the security exceptionjava.lang.NoSuchMethodException
- the no such method exceptionjava.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.reflect.InvocationTargetException
- the invocation target exceptionDynamicLoadBalancingBase getDynamicLoadBalancing(java.lang.String balancingClassName, jade.core.Agent executingAgent) throws java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.NoSuchMethodException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
balancingClassName
- the balancing class nameexecutingAgent
- the executing agentjava.lang.ClassNotFoundException
- the class not found exceptionjava.lang.SecurityException
- the security exceptionjava.lang.NoSuchMethodException
- the no such method exceptionjava.lang.IllegalArgumentException
- the illegal argument exceptionjava.lang.InstantiationException
- the instantiation exceptionjava.lang.IllegalAccessException
- the illegal access exceptionjava.lang.reflect.InvocationTargetException
- the invocation target exception