Package system.web.compilation
Class BuildManager
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.compilation.BuildManager
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class BuildManager extends NetObject
The base .NET class managing System.Web.Compilation.BuildManager, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Compilation.BuildManager
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.Compilation.BuildManagerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description BuildManager()BuildManager(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidAddCompilationDependency(java.lang.String dependency)static voidAddReferencedAssembly(Assembly assembly)static BuildManagercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoBuildManager, a cast assert is made to check if types are compatible.static StreamCreateCachedFile(java.lang.String fileName)static NetObjectCreateInstanceFromVirtualPath(java.lang.String virtualPath, NetType requiredBaseType)static BuildDependencySetGetCachedBuildDependencySet(HttpContext context, java.lang.String virtualPath)static BuildDependencySetGetCachedBuildDependencySet(HttpContext context, java.lang.String virtualPath, boolean ensureIsUpToDate)static IListgetCodeAssemblies()static AssemblyGetCompiledAssembly(java.lang.String virtualPath)static java.lang.StringGetCompiledCustomString(java.lang.String virtualPath)static NetTypeGetCompiledType(java.lang.String virtualPath)static NetTypeGetGlobalAsaxType()static booleangetIsPrecompiledApp()static booleangetIsUpdatablePrecompiledApp()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 IWebObjectFactoryGetObjectFactory(java.lang.String virtualPath, boolean throwIfNotFound)static ICollectionGetReferencedAssemblies()static FrameworkNamegetTargetFramework()static NetTypeGetType(java.lang.String typeName, boolean throwOnError)static NetTypeGetType(java.lang.String typeName, boolean throwOnError, boolean ignoreCase)static ICollectionGetVirtualPathDependencies(java.lang.String virtualPath)static StreamReadCachedFile(java.lang.String fileName)voidsetJCOInstance(JCObject instance)
-
-
-
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.Compilation.BuildManager- 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 classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static BuildManager cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoBuildManager, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
BuildManagerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetReferencedAssemblies
public static ICollection GetReferencedAssemblies() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, ConfigurationErrorsException, ConfigurationException, InvalidOperationException, HttpException, SecurityException, HttpCompileException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ProviderException, NotImplementedException, HttpParseException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionNotSupportedExceptionArgumentOutOfRangeExceptionConfigurationErrorsExceptionConfigurationExceptionInvalidOperationExceptionHttpExceptionSecurityExceptionHttpCompileExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionProviderExceptionNotImplementedExceptionHttpParseException
-
GetVirtualPathDependencies
public static ICollection GetVirtualPathDependencies(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentException, ArgumentNullException, HttpException, MissingManifestResourceException, ArgumentOutOfRangeException, InvalidOperationException, ConfigurationException, ProviderException, NotSupportedException, NullReferenceException, NotImplementedException, ConfigurationErrorsException, FormatException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionHttpExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionConfigurationExceptionProviderExceptionNotSupportedExceptionNullReferenceExceptionNotImplementedExceptionConfigurationErrorsExceptionFormatException
-
CreateCachedFile
public static Stream CreateCachedFile(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, NullReferenceException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
ReadCachedFile
public static Stream ReadCachedFile(java.lang.String fileName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, IndexOutOfRangeException, NotSupportedException, NullReferenceException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionIndexOutOfRangeExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledException
-
CreateInstanceFromVirtualPath
public static NetObject CreateInstanceFromVirtualPath(java.lang.String virtualPath, NetType requiredBaseType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, HttpCompileException, NullReferenceException, HttpParseException, ConfigurationErrorsException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionHttpCompileExceptionNullReferenceExceptionHttpParseExceptionConfigurationErrorsExceptionNotSupportedException
-
GetCompiledAssembly
public static Assembly GetCompiledAssembly(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, ConfigurationException, ConfigurationErrorsException, HttpParseException, HttpCompileException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionConfigurationExceptionConfigurationErrorsExceptionHttpParseExceptionHttpCompileException
-
GetCompiledCustomString
public static java.lang.String GetCompiledCustomString(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, ConfigurationException, ConfigurationErrorsException, HttpParseException, HttpCompileException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionConfigurationExceptionConfigurationErrorsExceptionHttpParseExceptionHttpCompileException
-
GetCompiledType
public static NetType GetCompiledType(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, HttpCompileException, NullReferenceException, HttpParseException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionHttpCompileExceptionNullReferenceExceptionHttpParseException
-
GetGlobalAsaxType
public static NetType GetGlobalAsaxType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, ConfigurationErrorsException, HttpCompileException, ProviderException, HttpParseException, OperationCanceledException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionConfigurationErrorsExceptionHttpCompileExceptionProviderExceptionHttpParseExceptionOperationCanceledExceptionNotSupportedException
-
GetType
public static NetType GetType(java.lang.String typeName, boolean throwOnError) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, FormatException, HttpException, CultureNotFoundException, ConfigurationErrorsException, ConfigurationException, MulticastNotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, NotSupportedException, XmlException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, OutOfMemoryException, HttpCompileException, ProviderException, HttpParseException, UriFormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionCultureNotFoundExceptionConfigurationErrorsExceptionConfigurationExceptionMulticastNotSupportedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionNotSupportedExceptionXmlExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionOutOfMemoryExceptionHttpCompileExceptionProviderExceptionHttpParseExceptionUriFormatException
-
GetType
public static NetType GetType(java.lang.String typeName, boolean throwOnError, boolean ignoreCase) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, HttpException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, IndexOutOfRangeException, MulticastNotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ObjectDisposedException, AbandonedMutexException, NotImplementedException, HttpCompileException, ProviderException, HttpParseException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionInvalidOperationExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionIndexOutOfRangeExceptionMulticastNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionObjectDisposedExceptionAbandonedMutexExceptionNotImplementedExceptionHttpCompileExceptionProviderExceptionHttpParseException
-
GetCachedBuildDependencySet
public static BuildDependencySet GetCachedBuildDependencySet(HttpContext context, java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, HttpException, OutOfMemoryException, ConfigurationException, ConfigurationErrorsException, HttpParseException, HttpCompileException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionHttpExceptionOutOfMemoryExceptionConfigurationExceptionConfigurationErrorsExceptionHttpParseExceptionHttpCompileException
-
GetCachedBuildDependencySet
public static BuildDependencySet GetCachedBuildDependencySet(HttpContext context, java.lang.String virtualPath, boolean ensureIsUpToDate) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, NullReferenceException, ConfigurationErrorsException, HttpParseException, HttpCompileException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionNullReferenceExceptionConfigurationErrorsExceptionHttpParseExceptionHttpCompileException
-
GetObjectFactory
public static IWebObjectFactory GetObjectFactory(java.lang.String virtualPath, boolean throwIfNotFound) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, HttpCompileException, NullReferenceException, ConfigurationErrorsException, HttpParseException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionHttpCompileExceptionNullReferenceExceptionConfigurationErrorsExceptionHttpParseException
-
AddCompilationDependency
public static void AddCompilationDependency(java.lang.String dependency) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
AddReferencedAssembly
public static void AddReferencedAssembly(Assembly assembly) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getIsPrecompiledApp
public static boolean getIsPrecompiledApp() throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, PathTooLongException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, SecurityException, XmlException, XmlSchemaException, ConfigurationErrorsException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionIndexOutOfRangeExceptionPathTooLongExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionXmlExceptionXmlSchemaExceptionConfigurationErrorsException
-
getIsUpdatablePrecompiledApp
public static boolean getIsUpdatablePrecompiledApp() throws java.lang.Throwable, ArgumentNullException, ArgumentException, IndexOutOfRangeException, NotSupportedException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, InvalidOperationException, ConfigurationErrorsException
-
getCodeAssemblies
public static IList getCodeAssemblies() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, HttpException, IndexOutOfRangeException, ConfigurationErrorsException, HttpCompileException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ConfigurationException, ProviderException, NotSupportedException, HttpParseException, AbandonedMutexException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionIndexOutOfRangeExceptionConfigurationErrorsExceptionHttpCompileExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionConfigurationExceptionProviderExceptionNotSupportedExceptionHttpParseExceptionAbandonedMutexException
-
getTargetFramework
public static FrameworkName getTargetFramework() throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, HttpException, ConfigurationErrorsException, ConfigurationException, IOException, OutOfMemoryException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionNotSupportedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionHttpExceptionConfigurationErrorsExceptionConfigurationExceptionIOExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
-