C# 클래스 Dev2.Runtime.InterfaceImplementors.DynamicServicesInvoker

Author: Sameer Chunilall Date: 2010-01-24 Description: Responsible for the invocation of a Dynamic Service and/or bizrule The invocation of the service is not internal to any dynamic service object as the service is a singleton and we want every service request to be executed in insolation of other as we are working in a static and multi-threaded environment
상속: IDynamicServicesInvoker, IDisposable
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

메소드 설명
AddResource ( string resourceDefinition, string roles ) : string
BizRule ( ServiceAction sa, dynamic xmlRequest, System.Guid dataListID ) : dynamic
CallProcedure ( string serverName, string databaseName, string procedure, string parameters, string mode, string username, string password ) : string
CheckCredentials ( string domain, string username, string password ) : string
CheckPermissions ( string path, string username, string password ) : string
CompileResource ( string resourceDefinition ) : string
DeleteResource ( string resourceName, string type, string roles ) : string
DeployResource ( string resourceDefinition, string roles ) : string
Dispose ( ) : void
DynamicService ( ServiceAction sa, System.Guid dataListID ) : System.Guid

Invoke a Dynamic Service

DynamicServicesInvoker ( ) : System.Xml.XPath
DynamicServicesInvoker ( IFrameworkDataChannel dsfChannel, IFrameworkDuplexDataChannel managementChannel = null, bool loggingEnabled = false, IWorkspace workspace = null ) : System.Xml.XPath
FindDependencies ( string resourceName ) : string
FindDependenciesRecursive ( string resourceName ) : string
FindDirectory ( string directoryPath, string domain, string username, string password ) : string
FindDrive ( string domain, string username, string password ) : string
FindMachineName ( ) : string
FindNetworkComputers ( ) : string
FindResource ( string resourceName, string type, string roles ) : string
FindResourceForBinding ( string resourceName, string type, string roles ) : string
FindResources ( string resourceName, string type, string roles ) : string
FindResourcesByID ( string guidCsv, string type ) : string
FindServerUsername ( ) : string
FindSourcesByType ( string type ) : string
FindSqlDatabaseSchema ( string serverName, string databaseName, string username, string password ) : string
FindSqlDatabases ( string serverName, string username, string password ) : string
FindSupportedDatabaseServers ( ) : string
GetLatest ( string editedItemsXml ) : string
GetResource ( string resourceName, string resourceType, string roles ) : string
GetXElement ( string xmlRequest ) : dynamic

A utility method to create an Unlimited Object from an xml string

InterrogatePlugin ( string assemblyLocation, string assemblyName, string method, string args ) : string
Invoke ( DynamicService service, dynamic xmlRequest, System.Guid dataListId, ErrorResultTO &errors ) : System.Guid
Invoke ( IDynamicServicesHost resourceDirectory, dynamic xmlRequest, System.Guid dataListId, ErrorResultTO &errors ) : System.Guid

Responsible for the processing of all inbound requests This method is reentrant and will call itself to for every invocation required in every generation of nesting. e.g services made up of services

Invoke ( ServiceAction serviceAction, IDSFDataObject dataObj, string dataList ) : System.Guid
InvokeService ( string name, string action, string args ) : string
ManagementDynamicService ( ServiceAction serviceAction, IDSFDataObject xmlRequest ) : System.Guid

Invoke a management method which is a statically coded method in the service implementation for service engine administrators

MySqlDatabase ( ServiceAction serviceAction, dynamic xmlRequest ) : dynamic
PingTest ( ) : string

Simple ping test that returns the date the message was processed back to the caller

Plugin ( ServiceAction plugin, IDSFDataObject req ) : System.Guid

Invokes a plugin assembly

Plugin ( ServiceAction plugin, IDSFDataObject req, bool formatOutput ) : System.Guid

Invokes a plugin assembly

PluginMetaDataRegistry ( string asmLoc, string nameSpace, string protectionLevel, string methodName ) : string
RegisteredAssembly ( ) : string
ReloadResource ( string resourceName, string resourceType ) : string

This is a management method that allows administrative users to realod a specific service

ReloadServices ( ) : string

This is a management method and allows administrative users to reload services. This will be called when service definitions have been ammended and need to become live

SetDynamicServiceMode ( string xmlRequest ) : string
SqlDatabaseCommand ( ServiceAction serviceAction, IDSFDataObject req ) : dynamic
Switch ( ServiceAction serviceAction, dynamic xmlRequest, System.Guid dataListID ) : dynamic
UpdateWorkspaceItem ( string itemXml, string roles ) : string
WebService ( ServiceAction service, dynamic xmlRequest ) : dynamic

Invokes a web service

Workflow ( ServiceAction workflowAction, dynamic xmlRequest, int i ) : dynamic
WorkflowApplication ( ServiceAction action, IDSFDataObject dataObj, string dataList ) : dynamic

비공개 메소드들

메소드 설명
AddErrorsToDataList ( ErrorResultTO errors, System.Guid dataListID ) : void
BuildMethodSignature ( ParameterInfo args, string methodName ) : string
CreateSqlCommand ( SqlConnection connection, ServiceAction serviceAction ) : SqlCommand
DispatchDebugState ( dynamic xmlRequest, System.Guid dataListId, ErrorResultTO allErrors ) : void

Dispatches the error state to the client

Eval ( string sExpression ) : object

Evaluates a string of C# code and returns the result.

GetAllDefsAsXML ( string source, dynamic serviceData ) : string
GetDirectoryInfoAsJSON ( DirectoryInfo directory ) : string
GetDriveInfoAsJSON ( DriveInfo drives ) : string

Gets the drive info as JSON.

GetOutputFormatterFromServiceAction ( ServiceAction serviceAction ) : IOutputFormatter
GetResourceNameAsXml ( string source, dynamic serviceData ) : string
GetSourceResourceAsXml ( string source, dynamic serviceData ) : string
GetWorkerServiceResourceAsXml ( string source, dynamic serviceData ) : string
GetXmlDataFromSqlServiceAction ( ServiceAction serviceAction ) : string
InterogatePluginAssembly ( StringBuilder pluginData, Assembly asm, string shortName, string sourceLocation, bool includePublic, bool includePrivate, string methodName, string nameSpace ) : void
LogonUser ( string lpszUsername, string lpszDomain, string lpszPassword, int dwLogonType, int dwLogonProvider, IntPtr &phToken ) : bool

메소드 상세

AddResource() 공개 메소드

public AddResource ( string resourceDefinition, string roles ) : string
resourceDefinition string
roles string
리턴 string

BizRule() 공개 메소드

public BizRule ( ServiceAction sa, dynamic xmlRequest, System.Guid dataListID ) : dynamic
sa ServiceAction
xmlRequest dynamic
dataListID System.Guid
리턴 dynamic

CallProcedure() 공개 메소드

public CallProcedure ( string serverName, string databaseName, string procedure, string parameters, string mode, string username, string password ) : string
serverName string
databaseName string
procedure string
parameters string
mode string
username string
password string
리턴 string

CheckCredentials() 공개 메소드

public CheckCredentials ( string domain, string username, string password ) : string
domain string
username string
password string
리턴 string

CheckPermissions() 공개 메소드

public CheckPermissions ( string path, string username, string password ) : string
path string
username string
password string
리턴 string

CompileResource() 공개 메소드

public CompileResource ( string resourceDefinition ) : string
resourceDefinition string
리턴 string

DeleteResource() 공개 메소드

public DeleteResource ( string resourceName, string type, string roles ) : string
resourceName string
type string
roles string
리턴 string

DeployResource() 공개 메소드

public DeployResource ( string resourceDefinition, string roles ) : string
resourceDefinition string
roles string
리턴 string

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DynamicService() 공개 메소드

Invoke a Dynamic Service
public DynamicService ( ServiceAction sa, System.Guid dataListID ) : System.Guid
sa ServiceAction The action of type InvokeDynamicService
dataListID System.Guid The data list ID.
리턴 System.Guid

DynamicServicesInvoker() 공개 메소드

public DynamicServicesInvoker ( ) : System.Xml.XPath
리턴 System.Xml.XPath

DynamicServicesInvoker() 공개 메소드

public DynamicServicesInvoker ( IFrameworkDataChannel dsfChannel, IFrameworkDuplexDataChannel managementChannel = null, bool loggingEnabled = false, IWorkspace workspace = null ) : System.Xml.XPath
dsfChannel IFrameworkDataChannel
managementChannel IFrameworkDuplexDataChannel
loggingEnabled bool
workspace IWorkspace
리턴 System.Xml.XPath

FindDependencies() 공개 메소드

public FindDependencies ( string resourceName ) : string
resourceName string
리턴 string

FindDependenciesRecursive() 공개 메소드

public FindDependenciesRecursive ( string resourceName ) : string
resourceName string
리턴 string

FindDirectory() 공개 메소드

public FindDirectory ( string directoryPath, string domain, string username, string password ) : string
directoryPath string
domain string
username string
password string
리턴 string

FindDrive() 공개 메소드

public FindDrive ( string domain, string username, string password ) : string
domain string
username string
password string
리턴 string

FindMachineName() 공개 메소드

public FindMachineName ( ) : string
리턴 string

FindNetworkComputers() 공개 메소드

public FindNetworkComputers ( ) : string
리턴 string

FindResource() 공개 메소드

public FindResource ( string resourceName, string type, string roles ) : string
resourceName string
type string
roles string
리턴 string

FindResourceForBinding() 공개 메소드

public FindResourceForBinding ( string resourceName, string type, string roles ) : string
resourceName string
type string
roles string
리턴 string

FindResources() 공개 메소드

public FindResources ( string resourceName, string type, string roles ) : string
resourceName string
type string
roles string
리턴 string

FindResourcesByID() 공개 메소드

public FindResourcesByID ( string guidCsv, string type ) : string
guidCsv string
type string
리턴 string

FindServerUsername() 공개 메소드

public FindServerUsername ( ) : string
리턴 string

FindSourcesByType() 공개 메소드

public FindSourcesByType ( string type ) : string
type string
리턴 string

FindSqlDatabaseSchema() 공개 메소드

public FindSqlDatabaseSchema ( string serverName, string databaseName, string username, string password ) : string
serverName string
databaseName string
username string
password string
리턴 string

FindSqlDatabases() 공개 메소드

public FindSqlDatabases ( string serverName, string username, string password ) : string
serverName string
username string
password string
리턴 string

FindSupportedDatabaseServers() 공개 메소드

public FindSupportedDatabaseServers ( ) : string
리턴 string

GetLatest() 공개 메소드

public GetLatest ( string editedItemsXml ) : string
editedItemsXml string
리턴 string

GetResource() 공개 메소드

public GetResource ( string resourceName, string resourceType, string roles ) : string
resourceName string
resourceType string
roles string
리턴 string

GetXElement() 공개 메소드

A utility method to create an Unlimited Object from an xml string
public GetXElement ( string xmlRequest ) : dynamic
xmlRequest string The XML request.
리턴 dynamic

InterrogatePlugin() 공개 메소드

public InterrogatePlugin ( string assemblyLocation, string assemblyName, string method, string args ) : string
assemblyLocation string
assemblyName string
method string
args string
리턴 string

Invoke() 공개 메소드

public Invoke ( DynamicService service, dynamic xmlRequest, System.Guid dataListId, ErrorResultTO &errors ) : System.Guid
service Dev2.DynamicServices.DynamicService
xmlRequest dynamic
dataListId System.Guid
errors Dev2.DataList.Contract.ErrorResultTO
리턴 System.Guid

Invoke() 공개 메소드

Responsible for the processing of all inbound requests This method is reentrant and will call itself to for every invocation required in every generation of nesting. e.g services made up of services
public Invoke ( IDynamicServicesHost resourceDirectory, dynamic xmlRequest, System.Guid dataListId, ErrorResultTO &errors ) : System.Guid
resourceDirectory IDynamicServicesHost The singleton instance of the service library that contains all the logical services
xmlRequest dynamic The actual client request message
dataListId System.Guid The id of the data list
errors Dev2.DataList.Contract.ErrorResultTO Errors resulting from this invoke
리턴 System.Guid

Invoke() 공개 메소드

public Invoke ( ServiceAction serviceAction, IDSFDataObject dataObj, string dataList ) : System.Guid
serviceAction ServiceAction
dataObj IDSFDataObject
dataList string
리턴 System.Guid

InvokeService() 공개 메소드

public InvokeService ( string name, string action, string args ) : string
name string
action string
args string
리턴 string

ManagementDynamicService() 공개 메소드

Invoke a management method which is a statically coded method in the service implementation for service engine administrators
public ManagementDynamicService ( ServiceAction serviceAction, IDSFDataObject xmlRequest ) : System.Guid
serviceAction ServiceAction Action of type InvokeManagementDynamicService
xmlRequest IDSFDataObject The XML request.
리턴 System.Guid

MySqlDatabase() 공개 메소드

public MySqlDatabase ( ServiceAction serviceAction, dynamic xmlRequest ) : dynamic
serviceAction ServiceAction
xmlRequest dynamic
리턴 dynamic

PingTest() 공개 메소드

Simple ping test that returns the date the message was processed back to the caller
public PingTest ( ) : string
리턴 string

Plugin() 공개 메소드

Invokes a plugin assembly
public Plugin ( ServiceAction plugin, IDSFDataObject req ) : System.Guid
plugin ServiceAction The action of type Plugin
req IDSFDataObject The req.
리턴 System.Guid

Plugin() 공개 메소드

Invokes a plugin assembly
public Plugin ( ServiceAction plugin, IDSFDataObject req, bool formatOutput ) : System.Guid
plugin ServiceAction The action of type Plugin
req IDSFDataObject The req.
formatOutput bool Indicates if the output of the plugin should be run through the formatter
리턴 System.Guid

PluginMetaDataRegistry() 공개 메소드

public PluginMetaDataRegistry ( string asmLoc, string nameSpace, string protectionLevel, string methodName ) : string
asmLoc string
nameSpace string
protectionLevel string
methodName string
리턴 string

RegisteredAssembly() 공개 메소드

public RegisteredAssembly ( ) : string
리턴 string

ReloadResource() 공개 메소드

This is a management method that allows administrative users to realod a specific service
public ReloadResource ( string resourceName, string resourceType ) : string
resourceName string Name of the resource.
resourceType string Type of the resource.
리턴 string

ReloadServices() 공개 메소드

This is a management method and allows administrative users to reload services. This will be called when service definitions have been ammended and need to become live
public ReloadServices ( ) : string
리턴 string

SetDynamicServiceMode() 공개 메소드

public SetDynamicServiceMode ( string xmlRequest ) : string
xmlRequest string
리턴 string

SqlDatabaseCommand() 공개 메소드

public SqlDatabaseCommand ( ServiceAction serviceAction, IDSFDataObject req ) : dynamic
serviceAction ServiceAction
req IDSFDataObject
리턴 dynamic

Switch() 공개 메소드

public Switch ( ServiceAction serviceAction, dynamic xmlRequest, System.Guid dataListID ) : dynamic
serviceAction ServiceAction
xmlRequest dynamic
dataListID System.Guid
리턴 dynamic

UpdateWorkspaceItem() 공개 메소드

public UpdateWorkspaceItem ( string itemXml, string roles ) : string
itemXml string
roles string
리턴 string

WebService() 공개 메소드

Invokes a web service
public WebService ( ServiceAction service, dynamic xmlRequest ) : dynamic
service ServiceAction The action of type InvokeWebService
xmlRequest dynamic The XML request.
리턴 dynamic

Workflow() 공개 메소드

public Workflow ( ServiceAction workflowAction, dynamic xmlRequest, int i ) : dynamic
workflowAction ServiceAction
xmlRequest dynamic
i int
리턴 dynamic

WorkflowApplication() 공개 메소드

public WorkflowApplication ( ServiceAction action, IDSFDataObject dataObj, string dataList ) : dynamic
action ServiceAction
dataObj IDSFDataObject
dataList string
리턴 dynamic