Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.classpath.debug.* (4)gnu.classpath.examples.* (65)gnu.classpath.jdwp.* (89)
gnu.classpath.tools.* (53)

gnu.classpath: Javadoc index of package gnu.classpath.


Package Samples:

gnu.classpath.examples.awt
gnu.classpath.examples.swing
gnu.classpath.debug
gnu.classpath.examples.html
gnu.classpath.examples.datatransfer
gnu.classpath.examples.jawt
gnu.classpath.jdwp.event.filters
gnu.classpath.jdwp.event
gnu.classpath.jdwp
gnu.classpath.jdwp.exception
gnu.classpath.jdwp.id
gnu.classpath.jdwp.processor
gnu.classpath.jdwp.transport
gnu.classpath.jdwp.util
gnu.classpath.examples.midi
gnu.classpath.examples.CORBA.NamingService
gnu.classpath.examples.CORBA.SimpleCommunication
gnu.classpath.examples.CORBA.swing.x5
gnu.classpath.examples.CORBA.SimpleCommunication.communication
gnu.classpath.examples.print

Classes:

GenKeyCmd: The -genkey keytool command handler is used to generate a key pair (a public, and associated private keys). It then generates a self-signed X509 v1 certificate (authenticating the public key) and stores this certificate and the private key in the key store associating both to a designated alias. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default ...
ImportCmd: The -import keytool command handler is used to read an X.509 certificate, or a PKCS#7 Certificate Reply from a designated input source and incorporate the certificates into the key store. If the Alias does not already exist in the key store, the tool treats the certificate read from the input source as a new Trusted Certificate. It then attempts to discover a chain-of-trust, starting from that certificate and ending at another Trusted Certificate , already stored in the key store. If the -trustcacerts option is present, an additional key store, of type JKS named cacerts , and assumed to be present ...
SelfCertCmd: The -selfcert keytool command handler is used to generate a self- signed X.509 version 1 certificate using key store credentials stored under a designated alias. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default value of mykey shall be used when this option is omitted from the command line. -sigalg ALGORITHM The canonical name of the digital ...
CertReqCmd: The -certreq keytool command handler is used to generate a Certificate Signing Request (CSR) in PKCS#10 format. The ASN.1 specification of a CSR, as stated in RFC-2986 is as follows: CertificationRequest ::= SEQUENCE { certificationRequestInfo CertificationRequestInfo, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING } CertificationRequestInfo ::= SEQUENCE { version INTEGER -- v1(0) subject Name, subjectPKInfo SubjectPublicKeyInfo, attributes [0] IMPLICIT Attributes -- see note later } SubjectPublicKeyInfo ::= SEQUENCE { algorithm AlgorithmIdentifier, subjectPublicKey BIT STRING } IMPORTANT ...
ServiceFactory: A factory for plug-ins that conform to a service provider interface. This is a general mechanism that gets used by a number of packages in the Java API. For instance, java.nio.charset.spi.CharsetProvider allows to write custom encoders and decoders for character sets, javax.imageio.spi.ImageReaderSpi allows to support custom image formats, and javax.print.PrintService makes it possible to write custom printer drivers. The plug-ins are concrete implementations of the service provider interface, which is defined as an interface or an abstract class. The implementation classes must be public and have ...
KeyCloneCmd: The -keyclone keytool command handler is used to clone an existing key store entry associated with a designated alias, with its private key and chain of certificates. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default value of mykey shall be used when this option is omitted from the command line. -dest ALIAS Use this option to specify the new ...
ExportCmd: The -export keytool command handler is used to read the certificate associated with a designated alias from the key store, and write it to a designated file. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default value of mykey shall be used when this option is omitted from the command line. -file FILE_NAME The fully qualified path of the file where ...
KeyPasswdCmd: The -keypasswd keytool command handler is used to change the password protecting the private key associated to a designated alias. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default value of mykey shall be used when this option is omitted from the command line. -keypass PASSWORD Use this option to specify the password which the tool will use to ...
ListCmd: The -list keytool command handler is used to output one or all key store entries. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default value of mykey shall be used when this option is omitted from the command line. -storetype STORE_TYP} Use this option to specify the type of the key store to use. The default value, if this option is omitted, is ...
DeleteCmd: The -delete keytool command handler is used to delete from the key store the entry associated with a designated alias. Possible options for this command are: -alias ALIAS Every entry, be it a Key Entry or a Trusted Certificate , in a key store is uniquely identified by a user-defined Alias string. Use this option to specify the Alias to use when referring to an entry in the key store. Unless specified otherwise, a default value of mykey shall be used when this option is omitted from the command line. -storetype STORE_TYP} Use this option to specify the type of the key store to use. The default ...
IdentityDBCmd: NOT IMPLEMENTED YET The -identitydb keytool command handler is used to read the JDK 1.1.x- style identity database and add its entries to the key store. If a key store does not exist, it is created. Possible options for this command are: -file FILE_NAME The fully qualified path of the identity file to import. If this option is omitted, the tool will process STDIN. -storetype STORE_TYP} Use this option to specify the type of the key store to use. The default value, if this option is omitted, is that of the property keystore.type in the security properties file, which is obtained by invoking the ...
StorePasswdCmd: The -storepasswd keytool command handler is used to change the password which protects the integrity of the key store. Possible options for this command are: -new PASSWORD The new, and different, password which will be used to protect the designated key store. -storetype STORE_TYP} Use this option to specify the type of the key store to use. The default value, if this option is omitted, is that of the property keystore.type in the security properties file, which is obtained by invoking the KeyStore.getDefaultType() > KeyStore.getDefaultType() 55 static method. -keystore URL Use this option to specify ...
Simple1LineFormatter: A simple 1-line formatter to use instead of the 2-line SimpleFormatter used by default in the JDK logging handlers. The fixed format of this formatter is as follows: Date: As a yyyy-MM-dd string. Time: As a HH:mm:ss.SSSS Z string. Thread identifier, right-justified, and framed in an 11-digit field. Class name, without its package name, left-justified, and framed in a 32-character field. Method name, left-justified, and framed in a 32-character field. Level name, left-justified, and framed in a 6-character field. User message and arguments. Platform-dependent line-separator. Optionally, if the log-record ...
VMIdManager: This class manages objects and referencetypes that are reported to the debugger. All objects and referencetypes reported to the debugger should go through this manager. A brief summary of what an IdManager must provide: public ObjectId getObjectId (Object theObject); public ObjectId get (long id); public ObjectId readObjectId (ByteBuffer bb); public ReferenceTypeId getReferenceTypeId (Class clazz); public ReferenceTypeId getReferenceType (long id); public ReferenceTypeId readReferenceTypeId (ByteBuffer bb); See the javadoc on these methods later in this file for more information on these functions. ...
RequestTest: This code uses CORBA to call various methods of the remote object, passing data structures in both directions. It finds the server by reading the IOR.txt file that must be present in the folder, where the program has been started. The IOR.txt file is written by the server gnu.classpath.examples.CORBA.SimpleCommunication.DemoServer . The server should be reachable over Internet, unless blocked by security tools. This code is tested for interoperability with Sun Microsystems java implementation 1.4.2 (08.b03). Server, client of both can be started either on Sun's or on Classpath CORBA implementation, ...
EventManager: Manages event requests and filters event notifications. The purpose of this class is actually two-fold: 1) Maintain a list of event requests from the debugger 2) Filter event notifications from the VM If an event request arrives from the debugger, the back-end will call requestEvent(gnu.classpath.jdwp.event.EventRequest) 55 , which will first check for a valid event. If it is valid, EventManager will record the request internally and register the event with the virtual machine, which may choose to handle the request itself (as is likely the case with breakpoints and other execution-related events), ...
DirectTest: This code uses CORBA to call various methods of the remote object, passing data structures in both directions. It finds the server by reading the IOR.txt file that must be present in the folder, where the program has been started. The IOR.txt file is written by the server gnu.classpath.examples.CORBA.SimpleCommunication.DemoServer . The server should be reachable over Internet, unless blocked by security tools. This code is tested for interoperability with Sun Microsystems java implementation 1.4.2 (08.b03). Server, client of both can be started either on Sun's or on Classpath CORBA implementation, ...
ThreadStartEvent: "Notification of a new running thread in the target VM. The new thread can be the result of a call to Thread.start() > Thread.start() 55 or the result of attaching a new thread to the VM though JNI. The notification is generated by the new thread some time before its execution starts. Because of this timing, it is possible to receive other events for the thread before this event is received. (Notably, Method Entry Events and Method Exit Events might occur during thread initialization. It is also possible for the VirtualMachine AllThreads command to return a thread before its thread start event ...
DemoServer: This is the server class that handles the client requests, delegating the functionality to the gnu.classpath.examples.CORBA.SimpleCommunication.communication.DemoServant . When starting, the server writes the IOR.txt file into the current folder. With the information, stored in this file, the server should be reachable over Internet, unless blocked by security tools. This code is tested for interoperability with Sun Microsystems java implementation 1.4.2 (08.b03). Server, client of both can be started either on Sun's or on Classpath CORBA implementation, in any combinations. BE SURE TO START THIS ...
X5Server: The main executable class of the game manager server. The manager address server returns the IOR address string of the game manager. Hence the user does not need to enter the rather long IOR address string and only needs to specify the host and port of the machine where the game manager is running. The manager address server starts the main game manager as well. This server acts as a HTTP server that always returns the same response. This primitive functionality is sufficient for its task. The more complex CORBA applications should use the name service instead. We do not use the name service as ...
JdwpPacket: All command and reply packets in JDWP share common header type information: length (4 bytes) : size of entire packet, including length id (4 bytes) : unique packet id flags (1 byte) : flag byte [command packet stuff | reply packet stuff] data (variable) : unique command-/reply-specific data This class deal with everything except the command- and reply-specific data, which get handled in JdwpCommandPacket and JdwpReplyPacket .
_Player_Stub: Generate with rmic, command line rmic -iiop -poa -keep gnu.classpath.examples.CORBA.swing.x5.PlayerImpl (the compiled package must be present in the current folder). This class is normally generated with rmic from the GameManagerImpl : rmic -iiop -poa -keep gnu.classpath.examples.CORBA.swing.x5.GameManagerImpl (the compiled package must be present in the current folder). In this example the class was manually edited and commented for better understanding of functionality.
ServiceProviderLoadingAction: A privileged action for creating a new instance of a service provider. Class loading and instantiation is encapsulated in a PriviledgedAction in order to restrict the loaded service providers to the java.security.AccessControlContext that was active when ServiceFactory.lookupProviders(Class, ClassLoader) 55 was called, even though the actual loading is delayed to the time when the provider is actually needed.
Demo: A simple test of the naming service. The main class of the GNU Classpath transient naming service is gnu.CORBA.NamingService . This class must be started before starting this example. This example should interoperate as with GNU Classpath naming service, as with Sun Microsystems transient and persistent naming services, included in releases 1.3 and 1.4 (tnameserv and orbd). To work with this example, the naming service must be started on the local host, at the port 900. The persistent naming service is currently under development.
_GameManagerImpl_Tie: Normally generated with rmic compiler, this class represents the GameManager Tie on the client side. The Game Manager methods contain the code for remote invocation. This class is normally generated with rmic or grmic from the GameManagerImpl . See tools/gnu/classpath/tools/giop/README. In this example the class was manually edited and commented for better understanding of functionality.

Home | Contact Us | Privacy Policy | Terms of Service