Package system.web.hosting
Class HostingEnvironment
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.web.hosting.HostingEnvironment
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class HostingEnvironment extends MarshalByRefObject
The base .NET class managing System.Web.Hosting.HostingEnvironment, 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.HostingEnvironment
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.HostingEnvironmentstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description HostingEnvironment()HostingEnvironment(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostingEnvironmentcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoHostingEnvironment, a cast assert is made to check if types are compatible.static voidDecrementBusyCount()static IApplicationHostgetApplicationHost()static java.lang.StringgetApplicationID()static ApplicationMonitorsgetApplicationMonitors()static java.lang.StringgetApplicationPhysicalPath()static java.lang.StringgetApplicationVirtualPath()static CachegetCache()static booleangetInClientBuildManager()static NetExceptiongetInitializationException()static booleangetIsDevelopmentEnvironment()static booleangetIsHosted()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 Typestatic intgetMaxConcurrentRequestsPerCPU()static intgetMaxConcurrentThreadsPerCPU()static ApplicationShutdownReasongetShutdownReason()static java.lang.StringgetSiteName()static VirtualPathProvidergetVirtualPathProvider()static IDisposableImpersonate()static voidIncrementBusyCount()NetObjectInitializeLifetimeService()static voidInitiateShutdown()static java.lang.StringMapPath(java.lang.String virtualPath)static voidMessageReceived()static voidRegisterObject(IRegisteredObject obj)static voidRegisterVirtualPathProvider(VirtualPathProvider virtualPathProvider)static IDisposableSetCultures()static IDisposableSetCultures(java.lang.String virtualPath)voidsetJCOInstance(JCObject instance)static voidsetMaxConcurrentRequestsPerCPU(int MaxConcurrentRequestsPerCPU)static voidsetMaxConcurrentThreadsPerCPU(int MaxConcurrentThreadsPerCPU)static voidUnregisterObject(IRegisteredObject obj)-
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.HostingEnvironment- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HostingEnvironment
public HostingEnvironment(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
HostingEnvironment
public HostingEnvironment() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, HttpException, SecurityException, ConfigurationErrorsException, SemaphoreFullException, NullReferenceException, MemberAccessException, ProviderException, OverflowException, RemotingException, MulticastNotSupportedException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionHttpExceptionSecurityExceptionConfigurationErrorsExceptionSemaphoreFullExceptionNullReferenceExceptionMemberAccessExceptionProviderExceptionOverflowExceptionRemotingExceptionMulticastNotSupportedException
-
-
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 HostingEnvironment cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoHostingEnvironment, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
HostingEnvironmentinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Impersonate
public static IDisposable Impersonate() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException
-
SetCultures
public static IDisposable SetCultures() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, HttpException, InvalidOperationException, ProviderException, ConfigurationErrorsException, OutOfMemoryException, CultureNotFoundException, TypeInitializationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionHttpExceptionInvalidOperationExceptionProviderExceptionConfigurationErrorsExceptionOutOfMemoryExceptionCultureNotFoundExceptionTypeInitializationExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedException
-
SetCultures
public static IDisposable SetCultures(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, HttpException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, CultureNotFoundException, InvalidOperationException, ProviderException, ConfigurationErrorsException, TypeInitializationException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionHttpExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionCultureNotFoundExceptionInvalidOperationExceptionProviderExceptionConfigurationErrorsExceptionTypeInitializationExceptionTypeLoadExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedException
-
InitializeLifetimeService
public NetObject InitializeLifetimeService() throws java.lang.Throwable
- Overrides:
InitializeLifetimeServicein classMarshalByRefObject- Throws:
java.lang.Throwable
-
MapPath
public static java.lang.String MapPath(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionNotSupportedException
-
DecrementBusyCount
public static void DecrementBusyCount() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
IncrementBusyCount
public static void IncrementBusyCount() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
InitiateShutdown
public static void InitiateShutdown() throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, SecurityException, ArgumentNullException, NotSupportedException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, HttpException, ConfigurationErrorsException, NotImplementedException, ConfigurationException, ObjectDisposedException, AbandonedMutexException, SemaphoreFullException- Throws:
java.lang.ThrowableArgumentExceptionIndexOutOfRangeExceptionSecurityExceptionArgumentNullExceptionNotSupportedExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionHttpExceptionConfigurationErrorsExceptionNotImplementedExceptionConfigurationExceptionObjectDisposedExceptionAbandonedMutexExceptionSemaphoreFullException
-
MessageReceived
public static void MessageReceived() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentException
-
RegisterObject
public static void RegisterObject(IRegisteredObject obj) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, FormatException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidOperationException
-
RegisterVirtualPathProvider
public static void RegisterVirtualPathProvider(VirtualPathProvider virtualPathProvider) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, IndexOutOfRangeException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, ConfigurationErrorsException
- Throws:
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionConfigurationErrorsException
-
UnregisterObject
public static void UnregisterObject(IRegisteredObject obj) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, IndexOutOfRangeException, SecurityException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, InvalidOperationException, HttpException, ConfigurationErrorsException, MissingManifestResourceException, ConfigurationException, SemaphoreFullException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionObjectDisposedExceptionAbandonedMutexExceptionIndexOutOfRangeExceptionSecurityExceptionNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionMissingManifestResourceExceptionConfigurationExceptionSemaphoreFullException
-
getInClientBuildManager
public static boolean getInClientBuildManager() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsDevelopmentEnvironment
public static boolean getIsDevelopmentEnvironment() throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, PathTooLongException, MemberAccessException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentOutOfRangeExceptionArgumentExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionPathTooLongExceptionMemberAccessExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedException
-
getIsHosted
public static boolean getIsHosted() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getMaxConcurrentRequestsPerCPU
public static int getMaxConcurrentRequestsPerCPU() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedException
-
setMaxConcurrentRequestsPerCPU
public static void setMaxConcurrentRequestsPerCPU(int MaxConcurrentRequestsPerCPU) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionFormatException
-
getMaxConcurrentThreadsPerCPU
public static int getMaxConcurrentThreadsPerCPU() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedException
-
setMaxConcurrentThreadsPerCPU
public static void setMaxConcurrentThreadsPerCPU(int MaxConcurrentThreadsPerCPU) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionFormatException
-
getInitializationException
public static NetException getInitializationException() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getApplicationID
public static java.lang.String getApplicationID() throws java.lang.Throwable, ArgumentException- Throws:
java.lang.ThrowableArgumentException
-
getApplicationPhysicalPath
public static java.lang.String getApplicationPhysicalPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException
-
getApplicationVirtualPath
public static java.lang.String getApplicationVirtualPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException
-
getSiteName
public static java.lang.String getSiteName() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
getShutdownReason
public static ApplicationShutdownReason getShutdownReason() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCache
public static Cache getCache() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, HttpException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionHttpException
-
getApplicationMonitors
public static ApplicationMonitors getApplicationMonitors() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getApplicationHost
public static IApplicationHost getApplicationHost() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getVirtualPathProvider
public static VirtualPathProvider getVirtualPathProvider() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexException
-
-