java.lang.Object
org.glassfish.rmic.RemoteClass.Method
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- RemoteClass
A RemoteClass.Method object encapsulates RMI-specific information
about a particular remote method in the remote implementation class
represented by the outer instance.
-
Method Summary
Modifier and TypeMethodDescriptionprotected Objectclone()Cloning is supported by returning a shallow copy of this object.Return an array of the exception classes declared to be thrown by this remote method.Return the definition of the actual class member corresponing to this method of a remote interface.longReturn the "method hash" used to identify this remote method in the JDK 1.2 version of the stub protocol.getName()Return the name of this method.Return a string consisting of this method's name followed by its method descriptor, using the Java VM's notation for method descriptors (see section 4.3.3 of The Java Virtual Machine Specification).Return the string representation of this method appropriate for the construction of a java.rmi.server.Operation object.getType()Return the type of this method.toString()Return the string representation of this method.
-
Method Details
-
getMemberDefinition
Return the definition of the actual class member corresponing to this method of a remote interface. REMIND: Can this method be removed? -
getName
Return the name of this method. -
getType
Return the type of this method. -
getExceptions
Return an array of the exception classes declared to be thrown by this remote method. For methods with the same name and type signature inherited from multiple remote interfaces, the array will contain the set of exceptions declared in all of the interfaces' methods that can be legally thrown in each of them. -
getMethodHash
public long getMethodHash()Return the "method hash" used to identify this remote method in the JDK 1.2 version of the stub protocol. -
toString
Return the string representation of this method. -
getOperationString
Return the string representation of this method appropriate for the construction of a java.rmi.server.Operation object. -
getNameAndDescriptor
Return a string consisting of this method's name followed by its method descriptor, using the Java VM's notation for method descriptors (see section 4.3.3 of The Java Virtual Machine Specification). -
clone
Cloning is supported by returning a shallow copy of this object.
-