ChangelogBaseDNVirtualAttributeProvider.java revision 1213c76646ee52dee5230cb219a7af951e8433b9
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at
* trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
* add the following below this CDDL HEADER, with the fields enclosed
* by brackets "[]" replaced with your own identifying information:
* Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*
* Copyright 2009 Sun Microsystems, Inc.
* Portions Copyright 2011-2012 ForgeRock AS
*/
/**
* This class implements a virtual attribute provider that specifies the
* changelog attribute of the root DSE entry that contain the baseDn of the ECL.
*/
public class ChangelogBaseDNVirtualAttributeProvider
{
/*
* The base DN of the changelog is a constant.
* TODO: This shouldn't be a virtual attribute, but directly
* registered in the RootDSE.
*/
/**
* Creates a new instance of this member virtual attribute provider.
*/
{
super();
}
/**
* {@inheritDoc}
*/
@Override()
public void initializeVirtualAttributeProvider(
{
// No initialization required
}
/**
* {@inheritDoc}
*/
@Override()
public void finalizeVirtualAttributeProvider()
{
//
}
/**
* {@inheritDoc}
*/
@Override()
public boolean isMultiValued()
{
return false;
}
/**
* {@inheritDoc}
*/
@Override()
{
return values;
}
/**
* {@inheritDoc}
*/
@Override()
boolean isPreIndexed)
{
// We do not allow search as it may be present is too many entries.
return false;
}
/**
* {@inheritDoc}
*/
@Override()
{
}
/**
* {@inheritDoc}
*/
public boolean isConfigurationChangeAcceptable(
{
return false;
}
/**
* {@inheritDoc}
*/
{
}
}