Package system.web.services.protocols
Class LogicalMethodInfo
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.services.protocols.LogicalMethodInfo
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class LogicalMethodInfo extends NetObject
The base .NET class managing System.Web.Services.Protocols.LogicalMethodInfo, System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Web.Services.Protocols.LogicalMethodInfo
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Web.Servicesstatic String
className
Qualified class name: System.Web.Services.Protocols.LogicalMethodInfostatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description LogicalMethodInfo()
LogicalMethodInfo(Object instance)
Internal constructor.LogicalMethodInfo(MethodInfo methodInfo)
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Web.Services- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Web.Services.Protocols.LogicalMethodInfo- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LogicalMethodInfo
public LogicalMethodInfo(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
LogicalMethodInfo
public LogicalMethodInfo(MethodInfo methodInfo) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static LogicalMethodInfo cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoLogicalMethodInfo
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
LogicalMethodInfo
instance- Throws:
Throwable
- in case of error during cast operation
-
IsBeginMethod
public static boolean IsBeginMethod(MethodInfo methodInfo) throws Throwable, NotImplementedException, InvalidOperationException, ArgumentNullException, ArgumentException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
IsEndMethod
public static boolean IsEndMethod(MethodInfo methodInfo) throws Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, TypeLoadException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
BeginInvoke
public IAsyncResult BeginInvoke(NetObject target, NetObject[] values, AsyncCallback callback, NetObject asyncState) throws Throwable, ArgumentException
- Throws:
Throwable
ArgumentException
-
GetCustomAttribute
public NetObject GetCustomAttribute(NetType type) throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, IndexOutOfRangeException
- Throws:
Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
NotSupportedException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
IndexOutOfRangeException
-
EndInvoke
public NetObject[] EndInvoke(NetObject target, IAsyncResult asyncResult) throws Throwable
- Throws:
Throwable
-
GetCustomAttributes
public NetObject[] GetCustomAttributes(NetType type) throws Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, FormatException
- Throws:
Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
NotSupportedException
MissingMethodException
TargetInvocationException
NotImplementedException
CultureNotFoundException
MissingManifestResourceException
FormatException
-
Invoke
public NetObject[] Invoke(NetObject target, NetObject[] values) throws Throwable
- Throws:
Throwable
-
Create
public static LogicalMethodInfo[] Create(MethodInfo[] methodInfos) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NotImplementedException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, MissingManifestResourceException
-
Create
public static LogicalMethodInfo[] Create(MethodInfo[] methodInfos, LogicalMethodTypes types) throws Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NotImplementedException, InvalidOperationException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, MissingManifestResourceException
-
getCustomAttributeProvider
public ICustomAttributeProvider getCustomAttributeProvider() throws Throwable
- Throws:
Throwable
-
getReturnTypeCustomAttributeProvider
public ICustomAttributeProvider getReturnTypeCustomAttributeProvider() throws Throwable
- Throws:
Throwable
-
getBeginMethodInfo
public MethodInfo getBeginMethodInfo() throws Throwable
- Throws:
Throwable
-
getEndMethodInfo
public MethodInfo getEndMethodInfo() throws Throwable
- Throws:
Throwable
-
getMethodInfo
public MethodInfo getMethodInfo() throws Throwable
- Throws:
Throwable
-
getAsyncCallbackParameter
public ParameterInfo getAsyncCallbackParameter() throws Throwable
- Throws:
Throwable
-
getAsyncResultParameter
public ParameterInfo getAsyncResultParameter() throws Throwable
- Throws:
Throwable
-
getAsyncStateParameter
public ParameterInfo getAsyncStateParameter() throws Throwable
- Throws:
Throwable
-
getInParameters
public final ParameterInfo[] getInParameters() throws Throwable
- Throws:
Throwable
-
getOutParameters
public final ParameterInfo[] getOutParameters() throws Throwable
- Throws:
Throwable
-
getParameters
public final ParameterInfo[] getParameters() throws Throwable
- Throws:
Throwable
-
-