C# Class Dev2.Runtime.ServiceModel.Esb.Brokers.Plugin.PluginRuntimeHandler

Handler that invokes a plugin in its own app domain
Inheritance: System.MarshalByRefObject, IRuntime
ファイルを表示 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
FetchNamespaceListObject ( PluginSource pluginSource ) : NamespaceList

Fetches the name space list object.

ListMethods ( string assemblyLocation, string assemblyName, string fullName ) : ServiceMethodList

Lists the methods.

ListNamespaces ( string assemblyLocation, string assemblyName ) : List

Lists the namespaces.

Run ( PluginInvokeArgs setupInfo ) : object

Runs the specified setup information.

Test ( PluginInvokeArgs setupInfo ) : IOutputDescription
ValidatePlugin ( string toLoad ) : string

Private Methods

Method Description
AdjustPluginResult ( object pluginResult, MethodInfo methodToRun ) : object

Adjusts the plugin result.

BuildParameterList ( List parameters ) : object[]

Builds the parameter list.

BuildTypeList ( List parameters ) : System.Type[]

Builds the type list.

CurrentDomain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
LoadDepencencies ( Assembly asm, string assemblyLocation ) : void

Loads the dependencies.

ReadNamespaces ( string assemblyLocation, string assemblyName ) : IEnumerable

Reads the namespaces.

TryLoadAssembly ( string assemblyLocation, string assemblyName, Assembly &loadedAssembly ) : bool

Tries the load assembly.

Method Details

FetchNamespaceListObject() public method

Fetches the name space list object.
public FetchNamespaceListObject ( PluginSource pluginSource ) : NamespaceList
pluginSource Dev2.Runtime.ServiceModel.Data.PluginSource The plugin source.
return NamespaceList

ListMethods() public method

Lists the methods.
public ListMethods ( string assemblyLocation, string assemblyName, string fullName ) : ServiceMethodList
assemblyLocation string The assembly location.
assemblyName string Name of the assembly.
fullName string The full name.
return ServiceMethodList

ListNamespaces() public method

Lists the namespaces.
public ListNamespaces ( string assemblyLocation, string assemblyName ) : List
assemblyLocation string The assembly location.
assemblyName string Name of the assembly.
return List

Run() public method

Runs the specified setup information.
public Run ( PluginInvokeArgs setupInfo ) : object
setupInfo PluginInvokeArgs The setup information.
return object

Test() public method

public Test ( PluginInvokeArgs setupInfo ) : IOutputDescription
setupInfo PluginInvokeArgs
return IOutputDescription

ValidatePlugin() public method

public ValidatePlugin ( string toLoad ) : string
toLoad string
return string