Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.naming.jmod - Naming Module
JDK 17 java.naming.jmod is the JMOD file for JDK 17 Naming module.
JDK 17 Naming module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.naming.jmod.
JDK 17 Naming module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Naming module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.naming.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/jndi/ldap/EntryChangeResponseControl.java
/* * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jndi.ldap; import java.io.IOException; import javax.naming.*; import javax.naming.directory.*; /** * This class implements the LDAPv3 Response Control for entry-change * notification as defined in * <a href="http://www.ietf.org/internet-drafts/draft-ietf-ldapext-psearch-02.txt">draft-ietf-ldapext-psearch-02.txt</a>. * * The control's value has the following ASN.1 definition: * <pre> * * EntryChangeNotification ::= SEQUENCE { * changeType ENUMERATED { * add (1), * delete (2), * modify (4), * modDN (8) * }, * previousDN LDAPDN OPTIONAL, -- modifyDN ops. only * changeNumber INTEGER OPTIONAL, -- if supported * } * * </pre> * * @see PersistentSearchControl * @see com.sun.jndi.ldap.ctl.ResponseControlFactory ResponseControlFactory * @author Vincent Ryan */ public final class EntryChangeResponseControl extends BasicControl { /** * The entry-change response control's assigned object identifier * is 2.16.840.1.113730.3.4.7. */ public static final String OID = "2.16.840.1.113730.3.4.7"; /** * Indicates an entry which has been added. */ public static final int ADD = 1; /** * Indicates an entry which has been deleted. */ public static final int DELETE = 2; /** * Indicates an entry which has been modified. */ public static final int MODIFY = 4; /** * Indicates an entry which has been renamed. */ public static final int RENAME = 8; /** * The type of change that occurred. * * @serial */ private int changeType; /** * The previous distinguished name (only applies to RENAME changes). * * @serial */ private String previousDN = null; /** * The change number (if supported by the server). * * @serial */ private long changeNumber = -1L; private static final long serialVersionUID = -2087354136750180511L; /** * Constructs a new instance of EntryChangeResponseControl. * * @param id The control's object identifier string. * @param criticality The control's criticality. * @param value The control's ASN.1 BER encoded value. * May be null. * @exception IOException if an error is encountered * while decoding the control's value. */ public EntryChangeResponseControl(String id, boolean criticality, byte[] value) throws IOException { super(id, criticality, value); // decode value if ((value != null) && (value.length > 0)) { BerDecoder ber = new BerDecoder(value, 0, value.length); ber.parseSeq(null); changeType = ber.parseEnumeration(); if ((ber.bytesLeft() > 0) && (ber.peekByte() == Ber.ASN_OCTET_STR)){ previousDN = ber.parseString(true); } if ((ber.bytesLeft() > 0) && (ber.peekByte() == Ber.ASN_INTEGER)) { changeNumber = ber.parseInt(); } } } /** * Retrieves the type of change that occurred. * * @return The type of change. */ public int getChangeType() { return changeType; } /** * Retrieves the previous distinguished name of the entry before it was * renamed and/or moved. This method applies only to RENAME changes. * * @return The previous distinguished name or null if not applicable. */ public String getPreviousDN() { return previousDN; } /** * Retrieves the change number assigned by the server for this change. * Returns -1 if this feature is not supported by the server. * * @return The change number or -1 if unsupported. */ public long getChangeNumber() { return changeNumber; } }
⏎ com/sun/jndi/ldap/EntryChangeResponseControl.java
Or download all of them as a single archive file:
File name: java.naming-17.0.5-src.zip File size: 490626 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.net.http.jmod - Net HTTP Module
2023-09-23, 6520👍, 0💬
Popular Posts:
layout.jar is a component in iText Java library to provide layout functionalities. iText Java librar...
How to merge two JAR files with "jar" commands? I am tired of specifying multiple JAR files in the c...
The JSR 105 XML Digital Signature 1.0.1 FCS implementation provides an API and implementation that a...
What Is mail.jar of JavaMail 1.3? I got the JAR file from javamail-1_3.zip. mail.jar in javamail-1_3...
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...