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.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.Hosting.ProcessHoststatic JCType
classType
The 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 ProcessHost
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoProcessHost
, a cast assert is made to check if types are compatible.void
EnumerateAppDomains(JCORefOut<IAppDomainInfoEnum> appDomainInfoEnum)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeNetObject
InitializeLifetimeService()
boolean
IsIdle()
void
Ping(IProcessPingCallback callback)
void
SetApplicationPreloadState(java.lang.String context, java.lang.String appId, boolean enabled)
void
SetApplicationPreloadUtil(IApplicationPreloadUtil applicationPreloadUtil)
void
setJCOInstance(JCObject instance)
void
Shutdown()
void
ShutdownApplication(java.lang.String appId)
void
StartAppDomainProtocolListenerChannel(java.lang.String appId, java.lang.String protocolId, IListenerChannelCallback listenerChannelCallback)
void
StartApplication(java.lang.String appId, java.lang.String appPath, JCORefOut<NetObject> runtimeInterface)
void
StartProcessProtocolListenerChannel(java.lang.String protocolId, IListenerChannelCallback listenerChannelCallback)
void
StopAppDomainProtocol(java.lang.String appId, java.lang.String protocolId, boolean immediate)
void
StopAppDomainProtocolListenerChannel(java.lang.String appId, java.lang.String protocolId, int listenerChannelId, boolean immediate)
void
StopProcessProtocol(java.lang.String protocolId, boolean immediate)
void
StopProcessProtocolListenerChannel(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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classMarshalByRefObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classMarshalByRefObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classMarshalByRefObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classMarshalByRefObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classMarshalByRefObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static ProcessHost cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoProcessHost
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
ProcessHost
instance- 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:
InitializeLifetimeService
in 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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
NullReferenceException
ArgumentOutOfRangeException
LockRecursionException
SynchronizationLockException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
HttpException
NotSupportedException
FormatException
-
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.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
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
IndexOutOfRangeException
SecurityException
NotSupportedException
HttpException
ConfigurationErrorsException
MissingManifestResourceException
ConfigurationException
ObjectDisposedException
AbandonedMutexException
SemaphoreFullException
-
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.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
SecurityException
NotSupportedException
OutOfMemoryException
FormatException
InvalidOperationException
HttpException
ConfigurationErrorsException
MissingManifestResourceException
ConfigurationException
ObjectDisposedException
AbandonedMutexException
SemaphoreFullException
-
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.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
-
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.Throwable
ArgumentNullException
ArgumentException
PathTooLongException
ArgumentOutOfRangeException
IndexOutOfRangeException
FormatException
NotSupportedException
SecurityException
UnauthorizedAccessException
IOException
InvalidOperationException
HttpException
OutOfMemoryException
TypeLoadException
ObjectDisposedException
AbandonedMutexException
ConfigurationErrorsException
ProviderException
SystemException
ConfigurationException
SemaphoreFullException
-
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.Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
MissingManifestResourceException
HttpException
InvalidOperationException
ConfigurationException
ProviderException
NotSupportedException
NullReferenceException
ConfigurationErrorsException
TypeLoadException
FormatException
-
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
-
-