attrs.put( attr );
    public static ContextPartitionConfig getContextPartitionConfig( String id, Hashtable env )    {        StringBuffer buf = new StringBuffer();        ContextPartitionConfig config = new ContextPartitionConfig();        LockableAttributesImpl attrs = new LockableAttributesImpl();        config.setId( id );        buf.append( EnvKeys.SUFFIX ).append( id );        config.setSuffix( ( String ) env.get(  buf.toString() ) );        buf.setLength( 0 );        buf.append( EnvKeys.INDICES ).append( id );        config.setIndices( ( ( String ) env.get( buf.toString() ) ).split( " " ) );        buf.setLength( 0 );        buf.append( EnvKeys.ATTRIBUTES ).append( id ).append( "." );        String keyBase = buf.toString();        for ( Enumeration list = env.keys(); list.hasMoreElements(); )        {            String attrKey = ( String ) list.nextElement();            if ( attrKey.startsWith( keyBase ) )            {                LockableAttributeImpl attr = new LockableAttributeImpl( attrs,                        attrKey.substring( attrKey.length() ) ) ;                String[] values = ( String[] ) env.get( attrKey );                for ( int ii = 0; ii < values.length; ii++ )                {                    attr.add( values[ii] );                }            }        }        return config;    }