Package system.web.hosting
Class ProcessHost
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.web.hosting.ProcessHost
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ProcessHost extends MarshalByRefObject
The base .NET class managing System.Web.Hosting.ProcessHost, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Hosting.ProcessHost
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.Hosting.ProcessHoststatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ProcessHost()ProcessHost(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessHostcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoProcessHost, a cast assert is made to check if types are compatible.voidEnumerateAppDomains(JCORefOut<IAppDomainInfoEnum> appDomainInfoEnum)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeNetObjectInitializeLifetimeService()booleanIsIdle()voidPing(IProcessPingCallback callback)voidSetApplicationPreloadState(java.lang.String context, java.lang.String appId, boolean enabled)voidSetApplicationPreloadUtil(IApplicationPreloadUtil applicationPreloadUtil)voidsetJCOInstance(JCObject instance)voidShutdown()voidShutdownApplication(java.lang.String appId)voidStartAppDomainProtocolListenerChannel(java.lang.String appId, java.lang.String protocolId, IListenerChannelCallback listenerChannelCallback)voidStartApplication(java.lang.String appId, java.lang.String appPath, JCORefOut<NetObject> runtimeInterface)voidStartProcessProtocolListenerChannel(java.lang.String protocolId, IListenerChannelCallback listenerChannelCallback)voidStopAppDomainProtocol(java.lang.String appId, java.lang.String protocolId, boolean immediate)voidStopAppDomainProtocolListenerChannel(java.lang.String appId, java.lang.String protocolId, int listenerChannelId, boolean immediate)voidStopProcessProtocol(java.lang.String protocolId, boolean immediate)voidStopProcessProtocolListenerChannel(java.lang.String protocolId, int listenerChannelId, boolean immediate)-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.Hosting.ProcessHost- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classMarshalByRefObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classMarshalByRefObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classMarshalByRefObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ProcessHost cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoProcessHost, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ProcessHostinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
IsIdle
public boolean IsIdle() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, HttpException, NotSupportedException, FormatException
-
InitializeLifetimeService
public NetObject InitializeLifetimeService() throws java.lang.Throwable
- Overrides:
InitializeLifetimeServicein classMarshalByRefObject- Throws:
java.lang.Throwable
-
EnumerateAppDomains
public void EnumerateAppDomains(JCORefOut<IAppDomainInfoEnum> appDomainInfoEnum) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, HttpException, ArgumentNullException, NullReferenceException, MemberAccessException, InvalidOperationException, CultureNotFoundException, MulticastNotSupportedException, FormatException, OverflowException, NotSupportedException
-
Ping
public void Ping(IProcessPingCallback callback) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, NullReferenceException, ArgumentOutOfRangeException, LockRecursionException, SynchronizationLockException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, HttpException, NotSupportedException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionNullReferenceExceptionArgumentOutOfRangeExceptionLockRecursionExceptionSynchronizationLockExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionNotSupportedExceptionFormatException
-
SetApplicationPreloadState
public void SetApplicationPreloadState(java.lang.String context, java.lang.String appId, boolean enabled) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, AbandonedMutexException, SecurityException, IOException, HttpException, NotSupportedException, OutOfMemoryException, MemberAccessException, NullReferenceException, ConfigurationErrorsException, ProviderException, PathTooLongException, OverflowException, SystemException, CannotUnloadAppDomainException, SemaphoreFullException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionAbandonedMutexExceptionSecurityExceptionIOExceptionHttpExceptionNotSupportedExceptionOutOfMemoryExceptionMemberAccessExceptionNullReferenceExceptionConfigurationErrorsExceptionProviderExceptionPathTooLongExceptionOverflowExceptionSystemExceptionCannotUnloadAppDomainExceptionSemaphoreFullException
-
SetApplicationPreloadUtil
public void SetApplicationPreloadUtil(IApplicationPreloadUtil applicationPreloadUtil) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
Shutdown
public void Shutdown() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, IndexOutOfRangeException, SecurityException, NotSupportedException, HttpException, ConfigurationErrorsException, MissingManifestResourceException, ConfigurationException, ObjectDisposedException, AbandonedMutexException, SemaphoreFullException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionIndexOutOfRangeExceptionSecurityExceptionNotSupportedExceptionHttpExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionConfigurationExceptionObjectDisposedExceptionAbandonedMutexExceptionSemaphoreFullException
-
ShutdownApplication
public void ShutdownApplication(java.lang.String appId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, SecurityException, NotSupportedException, OutOfMemoryException, FormatException, InvalidOperationException, HttpException, ConfigurationErrorsException, MissingManifestResourceException, ConfigurationException, ObjectDisposedException, AbandonedMutexException, SemaphoreFullException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSecurityExceptionNotSupportedExceptionOutOfMemoryExceptionFormatExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionConfigurationExceptionObjectDisposedExceptionAbandonedMutexExceptionSemaphoreFullException
-
StartAppDomainProtocolListenerChannel
public void StartAppDomainProtocolListenerChannel(java.lang.String appId, java.lang.String protocolId, IListenerChannelCallback listenerChannelCallback) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, HttpException, OutOfMemoryException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ProviderException, ConfigurationErrorsException, TypeLoadException, FormatException, ObjectDisposedException, AbandonedMutexException, MemberAccessException, OverflowException, NotImplementedException, SystemException, NullReferenceException, CannotUnloadAppDomainException, SemaphoreFullException- Throws:
java.lang.ThrowableArgumentNullExceptionIndexOutOfRangeExceptionArgumentExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionHttpExceptionOutOfMemoryExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionProviderExceptionConfigurationErrorsExceptionTypeLoadExceptionFormatExceptionObjectDisposedExceptionAbandonedMutexExceptionMemberAccessExceptionOverflowExceptionNotImplementedExceptionSystemExceptionNullReferenceExceptionCannotUnloadAppDomainExceptionSemaphoreFullException
-
StartApplication
public void StartApplication(java.lang.String appId, java.lang.String appPath, JCORefOut<NetObject> runtimeInterface) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, NotSupportedException, SecurityException, UnauthorizedAccessException, IOException, InvalidOperationException, HttpException, OutOfMemoryException, TypeLoadException, ObjectDisposedException, AbandonedMutexException, ConfigurationErrorsException, ProviderException, SystemException, ConfigurationException, SemaphoreFullException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPathTooLongExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionNotSupportedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionTypeLoadExceptionObjectDisposedExceptionAbandonedMutexExceptionConfigurationErrorsExceptionProviderExceptionSystemExceptionConfigurationExceptionSemaphoreFullException
-
StartProcessProtocolListenerChannel
public void StartProcessProtocolListenerChannel(java.lang.String protocolId, IListenerChannelCallback listenerChannelCallback) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, MissingManifestResourceException, HttpException, InvalidOperationException, ConfigurationException, ProviderException, NotSupportedException, NullReferenceException, ConfigurationErrorsException, TypeLoadException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionHttpExceptionInvalidOperationExceptionConfigurationExceptionProviderExceptionNotSupportedExceptionNullReferenceExceptionConfigurationErrorsExceptionTypeLoadExceptionFormatException
-
StopAppDomainProtocol
public void StopAppDomainProtocol(java.lang.String appId, java.lang.String protocolId, boolean immediate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, HttpException, InvalidOperationException, ProviderException, ConfigurationErrorsException, TypeLoadException, FormatException, NotSupportedException, IndexOutOfRangeException
-
StopAppDomainProtocolListenerChannel
public void StopAppDomainProtocolListenerChannel(java.lang.String appId, java.lang.String protocolId, int listenerChannelId, boolean immediate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, HttpException, InvalidOperationException, ProviderException, ConfigurationErrorsException, TypeLoadException, FormatException, NotSupportedException, IndexOutOfRangeException
-
StopProcessProtocol
public void StopProcessProtocol(java.lang.String protocolId, boolean immediate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, HttpException, NotSupportedException, FormatException, ArgumentOutOfRangeException
-
StopProcessProtocolListenerChannel
public void StopProcessProtocolListenerChannel(java.lang.String protocolId, int listenerChannelId, boolean immediate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, MissingManifestResourceException, InvalidOperationException, HttpException, NotSupportedException, FormatException, ArgumentOutOfRangeException
-
-