Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java Sun Feb 19 19:35:07 2006
@@ -1,235 +1,235 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-import java.util.Collection;
-
-import org.apache.directory.shared.ldap.filter.ExprNode;
-
-
-/**
- * Search request protocol message interface.
- *
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface SearchRequest extends ManyReplyRequest, AbandonableRequest
-{
- /** Search request protocol message type */
- MessageTypeEnum TYPE = MessageTypeEnum.SEARCHREQUEST;
-
- /**
- * Different response types that a search request may return. A search
- * request unlike any other request type can generate four different kinds
- * of responses. It is at most required to return a done response when it is
- * complete however before then it can return search entry, search
- * reference, and extended responses to the client.
- *
- * @see getResponseTypes()
- */
- MessageTypeEnum[] RESPONSE_TYPES =
- { SearchResponseDone.TYPE, SearchResponseEntry.TYPE, SearchResponseReference.TYPE, ExtendedResponse.TYPE };
-
-
- /**
- * Gets the different response types generated by a search request.
- *
- * @return the RESPONSE_TYPES array
- * @see RESPONSE_TYPES
- */
- MessageTypeEnum[] getResponseTypes();
-
-
- /**
- * Gets the search base as a distinguished name.
- *
- * @return the search base
- */
- String getBase();
-
-
- /**
- * Sets the search base as a distinguished name.
- *
- * @param a_baseDn
- * the search base
- */
- void setBase( String a_baseDn );
-
-
- /**
- * Gets the search scope parameter enumeration.
- *
- * @return the scope enumeration parameter.
- */
- ScopeEnum getScope();
-
-
- /**
- * Sets the search scope parameter enumeration.
- *
- * @param a_scope
- * the scope enumeration parameter.
- */
- void setScope( ScopeEnum a_scope );
-
-
- /**
- * Gets the alias handling parameter.
- *
- * @return the alias handling parameter enumeration.
- */
- DerefAliasesEnum getDerefAliases();
-
-
- /**
- * Sets the alias handling parameter.
- *
- * @param a_derefAliases
- * the alias handling parameter enumeration.
- */
- void setDerefAliases( DerefAliasesEnum a_derefAliases );
-
-
- /**
- * A sizelimit that restricts the maximum number of entries to be returned
- * as a result of the search. A value of 0 in this field indicates that no
- * client-requested sizelimit restrictions are in effect for the search.
- * Servers may enforce a maximum number of entries to return.
- *
- * @return search size limit.
- */
- int getSizeLimit();
-
-
- /**
- * Sets sizelimit that restricts the maximum number of entries to be
- * returned as a result of the search. A value of 0 in this field indicates
- * that no client-requested sizelimit restrictions are in effect for the
- * search. Servers may enforce a maximum number of entries to return.
- *
- * @param a_entriesMax
- * maximum search result entries to return.
- */
- void setSizeLimit( int a_entriesMax );
-
-
- /**
- * Gets the timelimit that restricts the maximum time (in seconds) allowed
- * for a search. A value of 0 in this field indicates that no client-
- * requested timelimit restrictions are in effect for the search.
- *
- * @return the search time limit in seconds.
- */
- int getTimeLimit();
-
-
- /**
- * Sets the timelimit that restricts the maximum time (in seconds) allowed
- * for a search. A value of 0 in this field indicates that no client-
- * requested timelimit restrictions are in effect for the search.
- *
- * @param a_secondsMax
- * the search time limit in seconds.
- */
- void setTimeLimit( int a_secondsMax );
-
-
- /**
- * An indicator as to whether search results will contain both attribute
- * types and values, or just attribute types. Setting this field to TRUE
- * causes only attribute types (no values) to be returned. Setting this
- * field to FALSE causes both attribute types and values to be returned.
- *
- * @return true for only types, false for types and values.
- */
- boolean getTypesOnly();
-
-
- /**
- * An indicator as to whether search results will contain both attribute
- * types and values, or just attribute types. Setting this field to TRUE
- * causes only attribute types (no values) to be returned. Setting this
- * field to FALSE causes both attribute types and values to be returned.
- *
- * @param a_typesOnly
- * true for only types, false for types and values.
- */
- void setTypesOnly( boolean a_typesOnly );
-
-
- /**
- * Gets the search filter associated with this search request.
- *
- * @return the expression node for the root of the filter expression tree.
- */
- ExprNode getFilter();
-
-
- /**
- * Sets the search filter associated with this search request.
- *
- * @param a_filter
- * the expression node for the root of the filter expression
- * tree.
- */
- void setFilter( ExprNode a_filter );
-
-
- /**
- * Gets a list of the attributes to be returned from each entry which
- * matches the search filter. There are two special values which may be
- * used: an empty list with no attributes, and the attribute description
- * string "*". Both of these signify that all user attributes are to be
- * returned. (The "*" allows the client to request all user attributes in
- * addition to specific operational attributes). Attributes MUST be named at
- * most once in the list, and are returned at most once in an entry. If
- * there are attribute descriptions in the list which are not recognized,
- * they are ignored by the server. If the client does not want any
- * attributes returned, it can specify a list containing only the attribute
- * with OID "1.1". This OID was chosen arbitrarily and does not correspond
- * to any attribute in use. Client implementors should note that even if all
- * user attributes are requested, some attributes of the entry may not be
- * included in search results due to access control or other restrictions.
- * Furthermore, servers will not return operational attributes, such as
- * objectClasses or attributeTypes, unless they are listed by name, since
- * there may be extremely large number of values for certain operational
- * attributes.
- *
- * @return the attributes to return for this request
- */
- Collection getAttributes();
-
-
- /**
- * Adds an attribute to the set of entry attributes to return.
- *
- * @param a_attribute
- * the attribute description or identifier.
- */
- void addAttribute( String a_attribute );
-
-
- /**
- * Removes an attribute to the set of entry attributes to return.
- *
- * @param a_attribute
- * the attribute description or identifier.
- */
- void removeAttribute( String a_attribute );
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+import java.util.Collection;
+
+import org.apache.directory.shared.ldap.filter.ExprNode;
+
+
+/**
+ * Search request protocol message interface.
+ *
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface SearchRequest extends ManyReplyRequest, AbandonableRequest
+{
+ /** Search request protocol message type */
+ MessageTypeEnum TYPE = MessageTypeEnum.SEARCHREQUEST;
+
+ /**
+ * Different response types that a search request may return. A search
+ * request unlike any other request type can generate four different kinds
+ * of responses. It is at most required to return a done response when it is
+ * complete however before then it can return search entry, search
+ * reference, and extended responses to the client.
+ *
+ * @see getResponseTypes()
+ */
+ MessageTypeEnum[] RESPONSE_TYPES =
+ { SearchResponseDone.TYPE, SearchResponseEntry.TYPE, SearchResponseReference.TYPE, ExtendedResponse.TYPE };
+
+
+ /**
+ * Gets the different response types generated by a search request.
+ *
+ * @return the RESPONSE_TYPES array
+ * @see RESPONSE_TYPES
+ */
+ MessageTypeEnum[] getResponseTypes();
+
+
+ /**
+ * Gets the search base as a distinguished name.
+ *
+ * @return the search base
+ */
+ String getBase();
+
+
+ /**
+ * Sets the search base as a distinguished name.
+ *
+ * @param a_baseDn
+ * the search base
+ */
+ void setBase( String a_baseDn );
+
+
+ /**
+ * Gets the search scope parameter enumeration.
+ *
+ * @return the scope enumeration parameter.
+ */
+ ScopeEnum getScope();
+
+
+ /**
+ * Sets the search scope parameter enumeration.
+ *
+ * @param a_scope
+ * the scope enumeration parameter.
+ */
+ void setScope( ScopeEnum a_scope );
+
+
+ /**
+ * Gets the alias handling parameter.
+ *
+ * @return the alias handling parameter enumeration.
+ */
+ DerefAliasesEnum getDerefAliases();
+
+
+ /**
+ * Sets the alias handling parameter.
+ *
+ * @param a_derefAliases
+ * the alias handling parameter enumeration.
+ */
+ void setDerefAliases( DerefAliasesEnum a_derefAliases );
+
+
+ /**
+ * A sizelimit that restricts the maximum number of entries to be returned
+ * as a result of the search. A value of 0 in this field indicates that no
+ * client-requested sizelimit restrictions are in effect for the search.
+ * Servers may enforce a maximum number of entries to return.
+ *
+ * @return search size limit.
+ */
+ int getSizeLimit();
+
+
+ /**
+ * Sets sizelimit that restricts the maximum number of entries to be
+ * returned as a result of the search. A value of 0 in this field indicates
+ * that no client-requested sizelimit restrictions are in effect for the
+ * search. Servers may enforce a maximum number of entries to return.
+ *
+ * @param a_entriesMax
+ * maximum search result entries to return.
+ */
+ void setSizeLimit( int a_entriesMax );
+
+
+ /**
+ * Gets the timelimit that restricts the maximum time (in seconds) allowed
+ * for a search. A value of 0 in this field indicates that no client-
+ * requested timelimit restrictions are in effect for the search.
+ *
+ * @return the search time limit in seconds.
+ */
+ int getTimeLimit();
+
+
+ /**
+ * Sets the timelimit that restricts the maximum time (in seconds) allowed
+ * for a search. A value of 0 in this field indicates that no client-
+ * requested timelimit restrictions are in effect for the search.
+ *
+ * @param a_secondsMax
+ * the search time limit in seconds.
+ */
+ void setTimeLimit( int a_secondsMax );
+
+
+ /**
+ * An indicator as to whether search results will contain both attribute
+ * types and values, or just attribute types. Setting this field to TRUE
+ * causes only attribute types (no values) to be returned. Setting this
+ * field to FALSE causes both attribute types and values to be returned.
+ *
+ * @return true for only types, false for types and values.
+ */
+ boolean getTypesOnly();
+
+
+ /**
+ * An indicator as to whether search results will contain both attribute
+ * types and values, or just attribute types. Setting this field to TRUE
+ * causes only attribute types (no values) to be returned. Setting this
+ * field to FALSE causes both attribute types and values to be returned.
+ *
+ * @param a_typesOnly
+ * true for only types, false for types and values.
+ */
+ void setTypesOnly( boolean a_typesOnly );
+
+
+ /**
+ * Gets the search filter associated with this search request.
+ *
+ * @return the expression node for the root of the filter expression tree.
+ */
+ ExprNode getFilter();
+
+
+ /**
+ * Sets the search filter associated with this search request.
+ *
+ * @param a_filter
+ * the expression node for the root of the filter expression
+ * tree.
+ */
+ void setFilter( ExprNode a_filter );
+
+
+ /**
+ * Gets a list of the attributes to be returned from each entry which
+ * matches the search filter. There are two special values which may be
+ * used: an empty list with no attributes, and the attribute description
+ * string "*". Both of these signify that all user attributes are to be
+ * returned. (The "*" allows the client to request all user attributes in
+ * addition to specific operational attributes). Attributes MUST be named at
+ * most once in the list, and are returned at most once in an entry. If
+ * there are attribute descriptions in the list which are not recognized,
+ * they are ignored by the server. If the client does not want any
+ * attributes returned, it can specify a list containing only the attribute
+ * with OID "1.1". This OID was chosen arbitrarily and does not correspond
+ * to any attribute in use. Client implementors should note that even if all
+ * user attributes are requested, some attributes of the entry may not be
+ * included in search results due to access control or other restrictions.
+ * Furthermore, servers will not return operational attributes, such as
+ * objectClasses or attributeTypes, unless they are listed by name, since
+ * there may be extremely large number of values for certain operational
+ * attributes.
+ *
+ * @return the attributes to return for this request
+ */
+ Collection getAttributes();
+
+
+ /**
+ * Adds an attribute to the set of entry attributes to return.
+ *
+ * @param a_attribute
+ * the attribute description or identifier.
+ */
+ void addAttribute( String a_attribute );
+
+
+ /**
+ * Removes an attribute to the set of entry attributes to return.
+ *
+ * @param a_attribute
+ * the attribute description or identifier.
+ */
+ void removeAttribute( String a_attribute );
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java Sun Feb 19 19:35:07 2006
@@ -1,31 +1,31 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Search done protocol response message used to indicate the completion of a
- * search request message.
- *
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * $Rev$
- */
-public interface SearchResponseDone extends ResultResponse
-{
- /** Search done response message type enumeration value */
- MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESDONE;
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Search done protocol response message used to indicate the completion of a
+ * search request message.
+ *
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * $Rev$
+ */
+public interface SearchResponseDone extends ResultResponse
+{
+ /** Search done response message type enumeration value */
+ MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESDONE;
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDone.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseDoneImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java Sun Feb 19 19:35:07 2006
@@ -1,79 +1,79 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-/*
- * $Id: SearchResponseEntry.java,v 1.5 2003/08/21 20:44:32 jmachols Exp $
- *
- * -- (c) LDAPd Group --
- * -- Please refer to the LICENSE.txt file in the root directory of --
- * -- any LDAPd project for copyright and distribution information. --
- *
- */
-
-package org.apache.directory.shared.ldap.message;
-
-
-import javax.naming.directory.Attributes;
-
-
-/**
- * Search entry protocol response message used to return non referral entries to
- * the client in response to a search request message.
- *
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: jmachols $
- * @version $Revision$
- */
-public interface SearchResponseEntry extends Response
-{
- /** Search entry response message type enumeration value */
- MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESENTRY;
-
-
- /**
- * Gets the distinguished name of the entry object returned.
- *
- * @return the Dn of the entry returned.
- */
- String getObjectName();
-
-
- /**
- * Sets the distinguished name of the entry object returned.
- *
- * @param a_dn
- * the Dn of the entry returned.
- */
- void setObjectName( String a_dn );
-
-
- /**
- * Gets the set of attributes and all their values in a MultiMap.
- *
- * @return the set of attributes and all their values
- */
- Attributes getAttributes();
-
-
- /**
- * Sets the set of attributes and all their values in a MultiMap.
- *
- * @param a_attributes
- * the set of attributes and all their values
- */
- void setAttributes( Attributes a_attributes );
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group --
+ * -- Please refer to the LICENSE.txt file in the root directory of --
+ * -- any LDAPd project for copyright and distribution information. --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message;
+
+
+import javax.naming.directory.Attributes;
+
+
+/**
+ * Search entry protocol response message used to return non referral entries to
+ * the client in response to a search request message.
+ *
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: jmachols $
+ * @version $Revision$
+ */
+public interface SearchResponseEntry extends Response
+{
+ /** Search entry response message type enumeration value */
+ MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESENTRY;
+
+
+ /**
+ * Gets the distinguished name of the entry object returned.
+ *
+ * @return the Dn of the entry returned.
+ */
+ String getObjectName();
+
+
+ /**
+ * Sets the distinguished name of the entry object returned.
+ *
+ * @param a_dn
+ * the Dn of the entry returned.
+ */
+ void setObjectName( String a_dn );
+
+
+ /**
+ * Gets the set of attributes and all their values in a MultiMap.
+ *
+ * @return the set of attributes and all their values
+ */
+ Attributes getAttributes();
+
+
+ /**
+ * Sets the set of attributes and all their values in a MultiMap.
+ *
+ * @param a_attributes
+ * the set of attributes and all their values
+ */
+ void setAttributes( Attributes a_attributes );
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntryImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseEntryImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java Sun Feb 19 19:35:07 2006
@@ -1,58 +1,58 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-/*
- * $Id: SearchResponseReference.java,v 1.3 2003/07/31 21:44:49 akarasulu Exp $
- *
- * -- (c) LDAPd Group --
- * -- Please refer to the LICENSE.txt file in the root directory of --
- * -- any LDAPd project for copyright and distribution information. --
- *
- */
-
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Search reference protocol response message used to return referrals to the
- * client in response to a search request message.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Revision$
- */
-public interface SearchResponseReference extends Response
-{
- /** Search reference response message type enumeration value */
- MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESREF;
-
-
- /**
- * Gets the sequence of LdapUrls as a Referral instance.
- *
- * @return the sequence of LdapUrls
- */
- Referral getReferral();
-
-
- /**
- * Sets the sequence of LdapUrls as a Referral instance.
- *
- * @param a_referral
- * the sequence of LdapUrls
- */
- void setReferral( Referral a_referral );
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group --
+ * -- Please refer to the LICENSE.txt file in the root directory of --
+ * -- any LDAPd project for copyright and distribution information. --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Search reference protocol response message used to return referrals to the
+ * client in response to a search request message.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Revision$
+ */
+public interface SearchResponseReference extends Response
+{
+ /** Search reference response message type enumeration value */
+ MessageTypeEnum TYPE = MessageTypeEnum.SEARCHRESREF;
+
+
+ /**
+ * Gets the sequence of LdapUrls as a Referral instance.
+ *
+ * @return the sequence of LdapUrls
+ */
+ Referral getReferral();
+
+
+ /**
+ * Sets the sequence of LdapUrls as a Referral instance.
+ *
+ * @param a_referral
+ * the sequence of LdapUrls
+ */
+ void setReferral( Referral a_referral );
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReference.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResponseReferenceImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java Sun Feb 19 19:35:07 2006
@@ -1,35 +1,35 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Super interface for all request messages returning only one type of response.
- *
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface SingleReplyRequest extends ResultResponseRequest
-{
- /**
- * Gets the protocol response message type for this request which produces
- * at least one response.
- *
- * @return the message type of the response.
- */
- MessageTypeEnum getResponseType();
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Super interface for all request messages returning only one type of response.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface SingleReplyRequest extends ResultResponseRequest
+{
+ /**
+ * Gets the protocol response message type for this request which produces
+ * at least one response.
+ *
+ * @return the message type of the response.
+ */
+ MessageTypeEnum getResponseType();
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SingleReplyRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/SubentriesControl.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java Sun Feb 19 19:35:07 2006
@@ -1,30 +1,30 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Unbind protocol request message used to end a client session.
- *
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface UnbindRequest extends Request
-{
- /** Unbind request protocol message type */
- MessageTypeEnum TYPE = MessageTypeEnum.UNBINDREQUEST;
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Unbind protocol request message used to end a client session.
+ *
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface UnbindRequest extends Request
+{
+ /** Unbind request protocol message type */
+ MessageTypeEnum TYPE = MessageTypeEnum.UNBINDREQUEST;
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java Sun Feb 19 19:35:07 2006
@@ -1,53 +1,53 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Lockable UnbindRequest implementation.
- *
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- */
-public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
-{
- static final long serialVersionUID = -6217184085100410116L;
-
-
- /**
- * Creates an UnbindRequest which takes no parameter other than those in the
- * outer envelope to disconnect and end a client session on the server
- * without producing any response.
- *
- * @param id
- * the sequential message identifier.
- */
- public UnbindRequestImpl(final int id)
- {
- super( id, TYPE, false );
- }
-
-
- /**
- * RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
- * cannot be abandoned.
- */
- public void abandon()
- {
- throw new UnsupportedOperationException(
- "RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned. " );
- }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Lockable UnbindRequest implementation.
+ *
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ */
+public class UnbindRequestImpl extends AbstractRequest implements UnbindRequest
+{
+ static final long serialVersionUID = -6217184085100410116L;
+
+
+ /**
+ * Creates an UnbindRequest which takes no parameter other than those in the
+ * outer envelope to disconnect and end a client session on the server
+ * without producing any response.
+ *
+ * @param id
+ * the sequential message identifier.
+ */
+ public UnbindRequestImpl(final int id)
+ {
+ super( id, TYPE, false );
+ }
+
+
+ /**
+ * RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations
+ * cannot be abandoned.
+ */
+ public void abandon()
+ {
+ throw new UnsupportedOperationException(
+ "RFC 2251 [Section 4.11]: Abandon, Bind, Unbind, and StartTLS operations cannot be abandoned. " );
+ }
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/UnbindRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulDisconnect.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulDisconnect.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulShutdownRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulShutdownRequest.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/GracefulShutdownResponse.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/LaunchDiagnosticUiRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/LaunchDiagnosticUiRequest.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/LaunchDiagnosticUiResponse.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/LaunchDiagnosticUiResponse.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/extended/NoticeOfDisconnect.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/Provider.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/Provider.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/Provider.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/Provider.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
*/
/*
- * $Id: Provider.java,v 1.9 2003/08/06 02:59:24 akarasulu Exp $
+ * $Id$
*
* -- (c) LDAPd Group --
* -- Please refer to the LICENSE.txt file in the root directory of --
@@ -26,18 +26,9 @@
package org.apache.directory.shared.ldap.message.spi;
-import org.apache.directory.shared.ldap.util.StringTools;
-
-import java.io.File;
-import java.io.FileFilter;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
-import java.util.List;
import java.util.Properties;
import java.util.Hashtable;
import java.util.Set;
@@ -308,107 +299,10 @@
*/
public static Properties getEnvironment()
{
- String cp = System.getProperty( "java.class.path" );
- FileFilter filter = new FileFilter()
- {
- public boolean accept( File file )
- {
- return ( file.exists() && file.isDirectory() );
- }
- };
-
- List paths = StringTools.getPaths( cp, filter );
- Properties env = null;
-
- // Loop through directories in classpath looking for berlib.properties
- for ( int ii = 0; ii < paths.size(); ii++ )
- {
- File dir = new File( ( String ) paths.get( ii ) );
- File propFile = new File( dir, BERLIB_PROPFILE );
-
- if ( propFile.exists() )
- {
- env = new Properties();
-
- try
- {
- env.load( new FileInputStream( propFile ) );
- }
- catch ( FileNotFoundException fnfe )
- {
- ProviderException pe = new ProviderException( null, "Failed to load " + propFile.getAbsolutePath() );
- pe.addThrowable( fnfe );
- }
- catch ( IOException ioe )
- {
- ProviderException pe = new ProviderException( null, "Failed to load " + propFile.getAbsolutePath() );
- pe.addThrowable( ioe );
- }
-
- findMonitor( env );
- monitor.propsFound( propFile.getAbsolutePath(), env );
-
- break;
- }
- }
-
- File javaHome = new File( System.getProperty( "java.home" ), "lib" );
- File userHome = new File( System.getProperty( "user.home" ) );
- File wkdirHome = new File( System.getProperty( "user.dir" ) );
-
- // If prop file not on classpath so we try lookin for it other places
- if ( env == null )
- {
- File propFile = new File( javaHome, BERLIB_PROPFILE );
-
- if ( !propFile.exists() )
- {
- propFile = new File( userHome, BERLIB_PROPFILE );
- }
-
- if ( !propFile.exists() )
- {
- propFile = new File( wkdirHome, BERLIB_PROPFILE );
- }
-
- if ( propFile.exists() )
- {
- env = new Properties();
-
- try
- {
- env.load( new FileInputStream( propFile ) );
- }
- catch ( FileNotFoundException fnfe )
- {
- ProviderException pe = new ProviderException( null, "Failed to load " + propFile.getAbsolutePath() );
- pe.addThrowable( fnfe );
- }
- catch ( IOException ioe )
- {
- ProviderException pe = new ProviderException( null, "Failed to load " + propFile.getAbsolutePath() );
- pe.addThrowable( ioe );
- }
-
- findMonitor( env );
- monitor.propsFound( propFile.getAbsolutePath(), env );
- }
- }
-
- // Attempt to override or add values off of JVM command-line parameter.
- if ( System.getProperties().containsKey( BERLIB_PROVIDER ) && ( System.getProperty( BERLIB_PROVIDER ) != null ) )
- {
- env = new Properties();
- env.setProperty( BERLIB_PROVIDER, System.getProperty( BERLIB_PROVIDER ) );
- }
-
// Prop file not on classpath so we complain and use the default!
- if ( env == null )
- {
- env = new Properties();
- env.setProperty( BERLIB_PROVIDER, DEFAULT_PROVIDER );
- monitor.usingDefaults( USING_DEFAULTS_MSG, env );
- }
+ Properties env = new Properties();
+ env.setProperty( BERLIB_PROVIDER, DEFAULT_PROVIDER );
+ monitor.usingDefaults( USING_DEFAULTS_MSG, env );
return env;
}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/Provider.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/Provider.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderDecoder.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderDecoder.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderDecoder.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderDecoder.java Sun Feb 19 19:35:07 2006
@@ -1,64 +1,64 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-/*
- * $Id: Decoder.java,v 1.2 2003/04/22 14:54:55 akarasulu Exp $
- *
- * -- (c) LDAPd Group --
- * -- Please refer to the LICENSE.txt file in the root directory of --
- * -- any LDAPd project for copyright and distribution information. --
- *
- */
-
-package org.apache.directory.shared.ldap.message.spi;
-
-
-import java.io.InputStream;
-
-import org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder;
-
-
-/**
- * Standard decoder service provider interface. BER decoders generating ASN.1
- * compiler stub based containment tree for a provider are expected to implement
- * this interface.
- *
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface ProviderDecoder extends ProviderObject, StatefulDecoder
-{
- /**
- * Decodes a BER encoded LDAPv3 ASN.1 message envelope from a binary input
- * stream into an in memory containment tree using stub's generated by a
- * provider's ASN.1 stub compiler and associated runtime BER libraries.
- *
- * @param lock
- * lock object used to exclusively read from the input stream
- * @param in
- * the binary input stream where the encoded message PDU is read
- * @return an object representing the top-most containment tree object which
- * represents the entire message envelope. For the Snacc provider
- * this object would be a populated instance of LDAPMessage.
- * @throws ProviderException
- * to indicate an error while attempting to decode the message
- * envelope onto the output stream. Provider specific exceptions
- * encountered while decoding can be held within this subclass
- * of MultiException.
- */
- Object decode( Object lock, InputStream in ) throws ProviderException;
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group --
+ * -- Please refer to the LICENSE.txt file in the root directory of --
+ * -- any LDAPd project for copyright and distribution information. --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message.spi;
+
+
+import java.io.InputStream;
+
+import org.apache.directory.shared.asn1.codec.stateful.StatefulDecoder;
+
+
+/**
+ * Standard decoder service provider interface. BER decoders generating ASN.1
+ * compiler stub based containment tree for a provider are expected to implement
+ * this interface.
+ *
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface ProviderDecoder extends ProviderObject, StatefulDecoder
+{
+ /**
+ * Decodes a BER encoded LDAPv3 ASN.1 message envelope from a binary input
+ * stream into an in memory containment tree using stub's generated by a
+ * provider's ASN.1 stub compiler and associated runtime BER libraries.
+ *
+ * @param lock
+ * lock object used to exclusively read from the input stream
+ * @param in
+ * the binary input stream where the encoded message PDU is read
+ * @return an object representing the top-most containment tree object which
+ * represents the entire message envelope. For the Snacc provider
+ * this object would be a populated instance of LDAPMessage.
+ * @throws ProviderException
+ * to indicate an error while attempting to decode the message
+ * envelope onto the output stream. Provider specific exceptions
+ * encountered while decoding can be held within this subclass
+ * of MultiException.
+ */
+ Object decode( Object lock, InputStream in ) throws ProviderException;
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderDecoder.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderDecoder.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderEncoder.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderEncoder.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderException.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderException.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderException.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderException.java Sun Feb 19 19:35:07 2006
@@ -1,85 +1,85 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-/*
- * $Id: ProviderException.java,v 1.3 2003/07/31 21:44:48 akarasulu Exp $
- *
- * -- (c) LDAPd Group --
- * -- Please refer to the LICENSE.txt file in the root directory of --
- * -- any LDAPd project for copyright and distribution information. --
- *
- */
-
-package org.apache.directory.shared.ldap.message.spi;
-
-
-import org.apache.directory.shared.ldap.message.MessageException;
-
-
-/**
- * This exception is thrown when provider specific errors occur.
- *
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: akarasulu $
- * @version $Revision$
- */
-public class ProviderException extends MessageException
-{
- static final long serialVersionUID = 8915445282948982052L;
-
- /** The provider this exception resulted on */
- private final Provider m_provider;
-
-
- /**
- * Gets the provider that caused this exception.
- *
- * @return the offensive Provider.
- */
- public Provider getProvider()
- {
- return m_provider;
- }
-
-
- /**
- * Constructs an Exception without a message.
- *
- * @param a_provider
- * The offending Provider that caused the exception.
- */
- public ProviderException(final Provider a_provider)
- {
- super();
- m_provider = a_provider;
- }
-
-
- /**
- * Constructs an Exception with a detailed message.
- *
- * @param a_provider
- * The offending Provider that caused the exception.
- * @param a_message
- * The message associated with the exception.
- */
- public ProviderException(final Provider a_provider, String a_message)
- {
- super( a_message );
- m_provider = a_provider;
- }
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group --
+ * -- Please refer to the LICENSE.txt file in the root directory of --
+ * -- any LDAPd project for copyright and distribution information. --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message.spi;
+
+
+import org.apache.directory.shared.ldap.message.MessageException;
+
+
+/**
+ * This exception is thrown when provider specific errors occur.
+ *
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: akarasulu $
+ * @version $Revision$
+ */
+public class ProviderException extends MessageException
+{
+ static final long serialVersionUID = 8915445282948982052L;
+
+ /** The provider this exception resulted on */
+ private final Provider m_provider;
+
+
+ /**
+ * Gets the provider that caused this exception.
+ *
+ * @return the offensive Provider.
+ */
+ public Provider getProvider()
+ {
+ return m_provider;
+ }
+
+
+ /**
+ * Constructs an Exception without a message.
+ *
+ * @param a_provider
+ * The offending Provider that caused the exception.
+ */
+ public ProviderException(final Provider a_provider)
+ {
+ super();
+ m_provider = a_provider;
+ }
+
+
+ /**
+ * Constructs an Exception with a detailed message.
+ *
+ * @param a_provider
+ * The offending Provider that caused the exception.
+ * @param a_message
+ * The message associated with the exception.
+ */
+ public ProviderException(final Provider a_provider, String a_message)
+ {
+ super( a_message );
+ m_provider = a_provider;
+ }
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderException.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderMonitor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderObject.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderObject.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderObject.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderObject.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
*/
/*
- * $Id: ProviderObject.java,v 1.1 2003/04/10 21:02:45 akarasulu Exp $
+ * $Id$
*
* -- (c) LDAPd Group --
* -- Please refer to the LICENSE.txt file in the root directory of --
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderObject.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/ProviderObject.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/TransformerSpi.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/TransformerSpi.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/TransformerSpi.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/TransformerSpi.java Sun Feb 19 19:35:07 2006
@@ -1,89 +1,89 @@
-/*
- * Copyright 2004 The Apache Software Foundation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-/*
- * $Id: TransformerSpi.java,v 1.2 2003/07/31 21:44:48 akarasulu Exp $
- *
- * -- (c) LDAPd Group --
- * -- Please refer to the LICENSE.txt file in the root directory of --
- * -- any LDAPd project for copyright and distribution information. --
- *
- */
-
-package org.apache.directory.shared.ldap.message.spi;
-
-
-import org.apache.directory.shared.ldap.message.Message;
-
-
-/**
- * Standard transformer service provider interface. Transforms demarshaled
- * containment trees of compiler generated stubs into Message implementations in
- * both directions: marshaling and demarshaling.
- *
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: akarasulu $
- * @version $Revision$
- */
-public interface TransformerSpi extends ProviderObject
-{
- /**
- * Transforms the containment tree rooted at some compiler stub object into
- * a Message implementing object instance. Transformer method used after
- * demarshaling a PDU off the wire - which consequently generated the
- * argument.
- *
- * @param a_obj
- * the compiler specific root object holding the containment tree
- * for the LDAPv3 message envelope. For example for the Snacc
- * provider this object would be an instance of the LDAPMessage
- * stub class.
- * @return the compiler agnostic Message implemenating object representing
- * the containment tree held by the message envelope argument.
- * @throws ProviderException
- * to indicate an error while attempting to transform
- * library/compiler specific message envelope into agnostic
- * message. Provider specific exceptions encountered while
- * transforming can be held within this subclass of
- * MultiException.
- */
- Message transform( Object a_obj ) throws ProviderException;
-
-
- /**
- * Transforms the agnostic Message representation of an LDAPv3 ASN.1 message
- * envelope into a compiler generated and BER lib specific stub containment
- * tree. Transformer method used before marshaling a PDU onto the wire - the
- * resultant object generated by this transform overload is the object
- * marshaled.
- *
- * @param a_msg
- * The Message object used to generate the compiler stub based
- * containment tree.
- * @return the compiler stub based containment tree representing the Message
- * transformed into the provider's format. For example for the Snacc
- * provider this object would be an instance of the LDAPMessage stub
- * class.
- * @throws ProviderException
- * to indicate an error while attempting to transform
- * library/compiler specific message envelope into agnostic
- * message. Provider specific exceptions encountered while
- * transforming can be held within this subclass of
- * MultiException.
- */
- Object transform( Message a_msg ) throws ProviderException;
-}
+/*
+ * Copyright 2004 The Apache Software Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group --
+ * -- Please refer to the LICENSE.txt file in the root directory of --
+ * -- any LDAPd project for copyright and distribution information. --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message.spi;
+
+
+import org.apache.directory.shared.ldap.message.Message;
+
+
+/**
+ * Standard transformer service provider interface. Transforms demarshaled
+ * containment trees of compiler generated stubs into Message implementations in
+ * both directions: marshaling and demarshaling.
+ *
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: akarasulu $
+ * @version $Revision$
+ */
+public interface TransformerSpi extends ProviderObject
+{
+ /**
+ * Transforms the containment tree rooted at some compiler stub object into
+ * a Message implementing object instance. Transformer method used after
+ * demarshaling a PDU off the wire - which consequently generated the
+ * argument.
+ *
+ * @param a_obj
+ * the compiler specific root object holding the containment tree
+ * for the LDAPv3 message envelope. For example for the Snacc
+ * provider this object would be an instance of the LDAPMessage
+ * stub class.
+ * @return the compiler agnostic Message implemenating object representing
+ * the containment tree held by the message envelope argument.
+ * @throws ProviderException
+ * to indicate an error while attempting to transform
+ * library/compiler specific message envelope into agnostic
+ * message. Provider specific exceptions encountered while
+ * transforming can be held within this subclass of
+ * MultiException.
+ */
+ Message transform( Object a_obj ) throws ProviderException;
+
+
+ /**
+ * Transforms the agnostic Message representation of an LDAPv3 ASN.1 message
+ * envelope into a compiler generated and BER lib specific stub containment
+ * tree. Transformer method used before marshaling a PDU onto the wire - the
+ * resultant object generated by this transform overload is the object
+ * marshaled.
+ *
+ * @param a_msg
+ * The Message object used to generate the compiler stub based
+ * containment tree.
+ * @return the compiler stub based containment tree representing the Message
+ * transformed into the provider's format. For example for the Snacc
+ * provider this object would be an instance of the LDAPMessage stub
+ * class.
+ * @throws ProviderException
+ * to indicate an error while attempting to transform
+ * library/compiler specific message envelope into agnostic
+ * message. Provider specific exceptions encountered while
+ * transforming can be held within this subclass of
+ * MultiException.
+ */
+ Object transform( Message a_msg ) throws ProviderException;
+}
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/TransformerSpi.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/spi/TransformerSpi.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/AttributeTypeAndValue.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnOidContainer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/name/DnOidContainer.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id
|